public function set_parallel_run($parallelruns, $currentrun) {

        if ($parallelruns < $currentrun) {
            behat_error(BEHAT_EXITCODE_REQUIREMENT,
                'Parallel runs('.$parallelruns.') should be more then current run('.$currentrun.')');
        }

        $this->parallelruns = $parallelruns;
        $this->currentrun = $currentrun;
    }
public function set_parallel_run($parallelruns, $currentrun) {

        if ($parallelruns < $currentrun) {
            behat_error(BEHAT_EXITCODE_REQUIREMENT,
                'Parallel runs('.$parallelruns.') should be more then current run('.$currentrun.')');
        }

        $this->parallelruns = $parallelruns;
        $this->currentrun = $currentrun;
    }
public function set_parallel_run ( $ parallelruns , $ currentrun ) { if ( $ parallelruns < $ currentrun ) { behat_error ( BEHAT_EXITCODE_REQUIREMENT , 'Parallel runs(' . $ parallelruns . ') should be more then current run(' . $ currentrun . ')' ) ; } $ this -> parallelruns = $ parallelruns ; $ this -> currentrun = $ currentrun ; }
Set parallel run to be used for generating config.

@param int $parallelruns number of parallel runs.
@param int $currentrun current run
Set parallel run to be used for generating config .