diff options
author | Paul Smith <psmith@gnu.org> | 2013-09-21 18:10:08 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-09-21 18:10:08 -0400 |
commit | 300d1296fb0f8f1b6bd16f977e2167442338343d (patch) | |
tree | e1e413420a68a278295562e5a7c4233d2c737c4f /tests/scripts/features/output-sync | |
parent | 822f8dae415cb5da2ad27ab7e26033f6b9ad5b48 (diff) | |
download | gunmake-300d1296fb0f8f1b6bd16f977e2167442338343d.tar.gz |
Create a target that tests alternative configurations.
Diffstat (limited to 'tests/scripts/features/output-sync')
-rw-r--r-- | tests/scripts/features/output-sync | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/scripts/features/output-sync b/tests/scripts/features/output-sync index 3bb9997..e2e88a7 100644 --- a/tests/scripts/features/output-sync +++ b/tests/scripts/features/output-sync @@ -4,9 +4,12 @@ $description = "Test --output-sync (-O) option."; $details = "Test the synchronization of output from parallel jobs."; -if (!$parallel_jobs) { - return -1; -} +# If we don't have output sync support, never mind. +exists $FEATURES{'output-sync'} or return -1; + +# Output sync can't be tested without parallelization +$parallel_jobs or return -1; + if ($vos) { $sleep_command = "sleep -seconds"; |