]> git.donarmstrong.com Git - debhelper.git/blobdiff - t/buildsystems/buildsystem_tests
--max-parallel requires a number
[debhelper.git] / t / buildsystems / buildsystem_tests
index 16a8a75c90d45e1b5ca6f183ab2c975527013ea4..0465a93b4cac9680ff8880863dff995a4c164fc8 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-use Test::More tests => 280;
+use Test::More tests => 277;
 
 use strict;
 use warnings;
@@ -557,14 +557,10 @@ sub test_is_parallel {
 
 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"),