function makeMakefileCase::testMakeBzr

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

File

tests/makeTest.php, line 361

Namespace

Unish

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

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