[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

output-sync test mistake?

From: Christian Weisgerber
Subject: output-sync test mistake?
Date: Thu, 23 Jan 2020 16:48:53 +0100

GNU make 4.3

There is some suspicious code in tests/scripts/features/output-sync
that looks like a copy-and-paste error.  Note that changing it also
breaks one of the tests run there because the output order changes.

Is this an actual mistake?  Maybe I should try to understand the
logic of the test...

--- tests/scripts/features/output-sync.orig
+++ tests/scripts/features/output-sync
@@ -59,8 +59,8 @@ $set_bar_start = output_sync_set('bar_start');
 $wait_foo = output_sync_wait('foo');
 $wait_bar = output_sync_wait('bar');
-$wait_foo_start = output_sync_set('foo_start');
-$wait_bar_start = output_sync_set('bar_start');
+$wait_foo_start = output_sync_wait('foo_start');
+$wait_bar_start = output_sync_wait('bar_start');
 open(MAKEFILE,"> foo/Makefile");
 print MAKEFILE <<EOF;
Christian "naddy" Weisgerber                          address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]