function makeMakefileCase::testMakeSvn

8.0.x makeTest.php makeMakefileCase::testMakeSvn()
6.x makeTest.php makeMakefileCase::testMakeSvn()
7.x makeTest.php makeMakefileCase::testMakeSvn()
5.x makeTest.php makeMakefileCase::testMakeSvn()
master makeTest.php makeMakefileCase::testMakeSvn()

File

tests/makeTest.php, line 664

Namespace

Unish

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

function testMakeSvn() {
  // @todo The svn repository used in `makefiles/svn.make` no longer exists.
  // This can be re-added if a suitable replacement repository is found.
  $this->markTestSkipped('Skipping SVN test');
  return;

  // Silently skip svn test if svn is not installed.
  exec('which svn', $output, $whichSvnErrorCode);
  if (!$whichSvnErrorCode) {
    $this->runMakefileTest('svn');
  }
  else {
    $this->markTestSkipped('svn command not available.');
  }
}