/**
  * @outputBuffering enabled
  * @depends testInstallCommand
  */
 public function testInstallAsCommand()
 {
     $processorNumber = Machine::getInstance()->detectProcessorNumber();
     $jobs = is_numeric($processorNumber) ? "--jobs {$processorNumber}" : "";
     $this->assertTrue($this->runCommand("phpbrew --quiet install {$jobs} {$this->primaryVersion} as myphp +soap"));
     $this->assertListContains("myphp");
 }
Beispiel #2
0
 /**
  * @depends testInstallCommand
  * @group install
  */
 public function testInstallAsCommand()
 {
     $versionName = $this->getPrimaryVersion();
     $processorNumber = Machine::getInstance()->detectProcessorNumber();
     $jobs = is_numeric($processorNumber) ? "--jobs {$processorNumber}" : "";
     $this->assertCommandSuccess("phpbrew install {$jobs} php-{$versionName} as myphp +cli+soap");
     $this->assertListContains("myphp");
 }
Beispiel #3
0
 public function detectProcessorNumberByGrep()
 {
     return parent::detectProcessorNumberByGrep();
 }