function makeMakefileCase::testMakeBZ2

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

File

tests/makeTest.php, line 182

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

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