summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-11-04 20:30:44 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-11-04 20:36:28 -0500
commit8e81a88c7d1209436996db36217568fc44f889b0 (patch)
tree4b23d50b9abe1a6633a5bddc48c3ae9d6956934a /t
parentdb49690fa990eab385d1e6844c285b22c2219f30 (diff)
--max-parallel requires a number
Diffstat (limited to 't')
-rwxr-xr-xt/buildsystems/buildsystem_tests6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/buildsystems/buildsystem_tests b/t/buildsystems/buildsystem_tests
index 16a8a75..0465a93 100755
--- a/t/buildsystems/buildsystem_tests
+++ b/t/buildsystems/buildsystem_tests
@@ -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"),