diff options
Diffstat (limited to 'tests/multifeat.pl')
-rwxr-xr-x | tests/multifeat.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/multifeat.pl b/tests/multifeat.pl index 1169a3daf..adcb30bbd 100755 --- a/tests/multifeat.pl +++ b/tests/multifeat.pl | |||
@@ -63,14 +63,16 @@ for $f (@features) { | |||
63 | print O $header, "#define BB_FEATURE_$f\n", $trailer; | 63 | print O $header, "#define BB_FEATURE_$f\n", $trailer; |
64 | close O; | 64 | close O; |
65 | system("echo -e '\n***\n$f\n***' >>$logfile"); | 65 | system("echo -e '\n***\n$f\n***' >>$logfile"); |
66 | # todo: figure out why the "rm -f *.o" is needed | 66 | # With a fast computer and 1-second resolution on file timestamps, this |
67 | $result{$f} = system("rm -f *.o; make $make_opt busybox >>$logfile 2>&1"); | 67 | # process pushes beyond the limits of what unix make can understand. |
68 | # That's why need to weed out obsolete files before restarting make. | ||
69 | $result{$f} = system("rm -f *.o applet_source_list; make $make_opt busybox >>$logfile 2>&1"); | ||
68 | $flag = $result{$f} ? "FAILED!!!" : "ok"; | 70 | $flag = $result{$f} ? "FAILED!!!" : "ok"; |
69 | printf("Feature %-20s: %s\n", $f, $flag); | 71 | printf("Feature %-20s: %s\n", $f, $flag); |
70 | $total_tests++; | 72 | $total_tests++; |
71 | $failed_tests++ if $flag eq "FAILED!!!"; | 73 | $failed_tests++ if $flag eq "FAILED!!!"; |
72 | # pause long enough to let user stop us with a ^C | 74 | # pause long enough to let user stop us with a ^C |
73 | select(undef, undef, undef, 0.05); | 75 | select(undef, undef, undef, 0.03); |
74 | } | 76 | } |
75 | 77 | ||
76 | # Clean up our mess | 78 | # Clean up our mess |