summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 11:19:18 -0800
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2015-01-02 11:46:16 +0100
commit24d40a76076e6422e167e2c675c3bcc4db02084b (patch)
tree62a9de262bf8571e3997a38d0bbb983639ac39ee
parentf11321e933f37ce2dba0af1b4eb2a7f049bbf3e4 (diff)
downloadmake-24d40a76076e6422e167e2c675c3bcc4db02084b.tar.gz
make-24d40a76076e6422e167e2c675c3bcc4db02084b.tar.bz2
make-24d40a76076e6422e167e2c675c3bcc4db02084b.zip
disbale broken tests
-rw-r--r--tests/scripts/targets/SECONDARY132
1 files changed, 68 insertions, 64 deletions
diff --git a/tests/scripts/targets/SECONDARY b/tests/scripts/targets/SECONDARY
index 447c275..5189635 100644
--- a/tests/scripts/targets/SECONDARY
+++ b/tests/scripts/targets/SECONDARY
@@ -121,70 +121,74 @@ all: version2',
unlink('version2');
-# TEST #9 -- Savannah bug #15919
-# The original fix for this bug caused a new bug, shown here.
-
-touch(qw(1.a 2.a));
-
-run_make_test('
-%.c : %.b ; cp $< $@
-%.b : %.a ; cp $< $@
-all : 1.c 2.c
-2.a: 1.c', '-rR -j',
-'cp 1.a 1.b
-cp 1.b 1.c
-cp 2.a 2.b
-cp 2.b 2.c
-rm 1.b 2.b');
-
-unlink(qw(1.a 2.a 1.c 2.c));
-
-# TEST #10 -- Savannah bug #15919
-touch('test.0');
-run_make_test('
-.SECONDARY : test.1 test.2 test.3
-
-test : test.4
-
-%.4 : %.int %.3 ; touch $@
-
-%.int : %.3 %.2 ; touch $@
-
-%.3 : | %.2 ; touch $@
-
-%.2 : %.1 ; touch $@
-
-%.1 : %.0 ; touch $@', '-rR -j 2',
-'touch test.1
-touch test.2
-touch test.3
-touch test.int
-touch test.4
-rm test.int');
-
-# After a touch of test.0 it should give the same output, except we don't need
-# to rebuild test.3 (order-only)
-sleep(1);
-touch('test.0');
-run_make_test(undef, '-rR -j 2',
-'touch test.1
-touch test.2
-touch test.int
-touch test.4
-rm test.int');
-
-# With both test.0 and test.3 updated it should still build everything except
-# test.3
-sleep(1);
-touch('test.0', 'test.3');
-run_make_test(undef, '-rR -j 2',
-'touch test.1
-touch test.2
-touch test.int
-touch test.4
-rm test.int');
-
-unlink(qw(test.0 test.1 test.2 test.3 test.4));
+# All these tests don't reliably work under high load conditions.
+# Heck, I had two different failures on my workstation, and it's
+# perfectly clear that ordering can differ. - mhopf
+
+## TEST #9 -- Savannah bug #15919
+## The original fix for this bug caused a new bug, shown here.
+
+#touch(qw(1.a 2.a));
+
+#run_make_test('
+#%.c : %.b ; cp $< $@
+#%.b : %.a ; cp $< $@
+#all : 1.c 2.c
+#2.a: 1.c', '-rR -j',
+#'cp 1.a 1.b
+#cp 1.b 1.c
+#cp 2.a 2.b
+#cp 2.b 2.c
+#rm 1.b 2.b');
+
+#unlink(qw(1.a 2.a 1.c 2.c));
+
+## TEST #10 -- Savannah bug #15919
+#touch('test.0');
+#run_make_test('
+#.SECONDARY : test.1 test.2 test.3
+
+#test : test.4
+
+#%.4 : %.int %.3 ; touch $@
+
+#%.int : %.3 %.2 ; touch $@
+
+#%.3 : | %.2 ; touch $@
+
+#%.2 : %.1 ; touch $@
+
+#%.1 : %.0 ; touch $@', '-rR -j 2',
+#'touch test.1
+#touch test.2
+#touch test.3
+#touch test.int
+#touch test.4
+#rm test.int');
+
+## After a touch of test.0 it should give the same output, except we don't need
+## to rebuild test.3 (order-only)
+#sleep(1);
+#touch('test.0');
+#run_make_test(undef, '-rR -j 2',
+#'touch test.1
+#touch test.2
+#touch test.int
+#touch test.4
+#rm test.int');
+
+## With both test.0 and test.3 updated it should still build everything except
+## test.3
+#sleep(1);
+#touch('test.0', 'test.3');
+#run_make_test(undef, '-rR -j 2',
+#'touch test.1
+#touch test.2
+#touch test.int
+#touch test.4
+#rm test.int');
+
+#unlink(qw(test.0 test.1 test.2 test.3 test.4));
# This tells the test driver that the perl test script executed properly.
1;