Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
[#719] - skipping Bash implementation tests on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
octopuss committed Feb 28, 2016
1 parent 2a5f625 commit 83ecb17
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ public function mergeDriverUninstalledCorrectly() {
*/
public function mergedWithoutConflictUsingBash() {

if(DIRECTORY_SEPARATOR == '\\') {
$this->markTestSkipped('mergedWithoutConflictUsingBash is skipped (no Bash on Windows).');
}

MergeDriverInstaller::installMergeDriver(self::$initializationDir);
MergeDriverTestUtils::switchDriverToBash();

Expand All @@ -80,6 +84,10 @@ public function mergedWithoutConflictUsingBash() {
*/
public function mergedWithoutConflictInDateUsingBash() {

if(DIRECTORY_SEPARATOR == '\\') {
$this->markTestSkipped('mergedWithoutConflictInDateUsingBash is skipped (no Bash on Windows).');
}

MergeDriverInstaller::installMergeDriver(self::$initializationDir);
MergeDriverTestUtils::switchDriverToBash();

Expand Down
4 changes: 4 additions & 0 deletions plugins/versionpress/tests/LoadTests/MergeDriverLoadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public function phpDriverLoadTested() {
*/
public function bashDriverLoadTested() {

if(DIRECTORY_SEPARATOR == '\\') {
$this->markTestSkipped('bashDriverLoadTested is skipped (no Bash on Windows).');
}

MergeDriverInstaller::installMergeDriver(self::$initializationDir);
MergeDriverTestUtils::switchDriverToBash();
$this->prepareTestData();
Expand Down

0 comments on commit 83ecb17

Please sign in to comment.