function makeMakefileCase::testMakeGZip

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

File

tests/makeTest.php, line 204

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

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