- Disable some inherrently broken test cases.
OBS-URL: https://build.opensuse.org/package/show/Base:System/make?expand=0&rev=11
This commit is contained in:
parent
0f6ebe3101
commit
40205a44c3
141
make-disable-broken-tests.diff
Normal file
141
make-disable-broken-tests.diff
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
Index: make-3.82/tests/scripts/targets/SECONDARY
|
||||||
|
===================================================================
|
||||||
|
--- make-3.82.orig/tests/scripts/targets/SECONDARY
|
||||||
|
+++ make-3.82/tests/scripts/targets/SECONDARY
|
||||||
|
@@ -121,69 +121,73 @@ 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', '-rR -j',
|
||||||
|
-'cp 1.a 1.b
|
||||||
|
-cp 2.a 2.b
|
||||||
|
-cp 1.b 1.c
|
||||||
|
-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', '-rR -j',
|
||||||
|
+# 'cp 1.a 1.b
|
||||||
|
+# cp 2.a 2.b
|
||||||
|
+# cp 1.b 1.c
|
||||||
|
+# 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;
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 30 17:37:23 UTC 2010 - mhopf@novell.com
|
||||||
|
|
||||||
|
- Disable some inherrently broken test cases.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 23 13:39:12 UTC 2010 - mhopf@novell.com
|
Mon Aug 23 13:39:12 UTC 2010 - mhopf@novell.com
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Release: 131
|
|||||||
Summary: GNU make
|
Summary: GNU make
|
||||||
Source: make-%version.tar.bz2
|
Source: make-%version.tar.bz2
|
||||||
Patch2: make-slowdown-parallelism.diff
|
Patch2: make-slowdown-parallelism.diff
|
||||||
|
Patch3: make-disable-broken-tests.diff
|
||||||
Patch64: make-library-search-path.diff
|
Patch64: make-library-search-path.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -39,6 +40,7 @@ The GNU make command with extensive documentation.
|
|||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3 -p1
|
||||||
if [ %_lib == lib64 ]; then
|
if [ %_lib == lib64 ]; then
|
||||||
%patch64
|
%patch64
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user