"l" => \$opt_list,
"list" => \$opt_list,
- "max-parallel:i" => \$max_parallel,
+ "max-parallel=i" => \$max_parallel,
);
$args{options}{$_} = $options{$_} foreach keys(%options);
Debian::Debhelper::Dh_Lib::init(%args);
allows in source building, the latter can be re-enabled by passing a build
directory path that is the same as the source directory path.
-=item B<--max-parallel>[I<=maximum>]
+=item B<--max-parallel>I<=maximum>
By default, the DEB_BUILD_OPTIONS environment variable can be used to
enable parallel building, when supported by the build system.
#!/usr/bin/perl
-use Test::More tests => 280;
+use Test::More tests => 277;
use strict;
use warnings;
test_isnt_parallel( do_parallel_mk(),
"No parallel by default" );
-test_isnt_parallel( do_parallel_mk("--max-parallel"),
- "No parallel by default with --max-parallel" );
$ENV{DEB_BUILD_OPTIONS}="parallel=5";
test_is_parallel( do_parallel_mk(),
"DEB_BUILD_OPTIONS=parallel=5 without --max-parallel" );
-test_is_parallel( do_parallel_mk("--max-parallel"),
- "DEB_BUILD_OPTIONS=parallel=5 with --max-parallel" );
test_is_parallel( do_parallel_mk("--max-parallel=2"),
"DEB_BUILD_OPTIONS=parallel=5 with --max-parallel=2" );
test_isnt_parallel( do_parallel_mk("--max-parallel=1"),