function makeMakefileCase::testMakeBZ2SingleFile

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

File

tests/makeTest.php, line 264

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

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