function makeMakefileCase::testMakeNoRecursion

8.0.x makeTest.php makeMakefileCase::testMakeNoRecursion()
7.x makeTest.php makeMakefileCase::testMakeNoRecursion()
master makeTest.php makeMakefileCase::testMakeNoRecursion()

File

tests/makeTest.php, line 525

Namespace

Unish

Class

makeMakefileCase
Make makefile tests. @group make @group slow

Code

function testMakeNoRecursion() {
  $config = $this->getMakefile('recursion');
  $makefile = $this->makefile_path . DIRECTORY_SEPARATOR . $config['makefile'];

  $install_directory = UNISH_SANDBOX . DIRECTORY_SEPARATOR . 'norecursion';
  $this->drush('make', array('--no-core', '--no-recursion', $makefile, $install_directory));
  $this->assertNotContains("ctools", $this->getOutput(), "Make with --no-recursion does not recurse into drupal_forum to download ctools.");
}