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 73

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

function testMakeSvn() {
  // 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.');
  }
}