summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2013-11-22 14:36:32 +0100
committerGravatar Stephane Glondu <steph@glondu.net>2013-11-22 14:37:12 +0100
commit63357a8dd2be33cde7f36dc45cbd50ca3b2c4743 (patch)
treeee369eb428fe926b3ce7e56e814702378a3cf84a /debian
parent7a0c2d001f6face17efcae6800507b1f22368046 (diff)
Disable micromega tests on Hurd
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0002-Disable-micromega-tests-on-Hurd.patch25
-rw-r--r--debian/patches/series1
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/0002-Disable-micromega-tests-on-Hurd.patch b/debian/patches/0002-Disable-micromega-tests-on-Hurd.patch
new file mode 100644
index 00000000..2d2ef7c0
--- /dev/null
+++ b/debian/patches/0002-Disable-micromega-tests-on-Hurd.patch
@@ -0,0 +1,25 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Fri, 22 Nov 2013 14:33:52 +0100
+Subject: Disable micromega tests on Hurd
+
+They exert lockf, which is not implemented on Hurd.
+---
+ test-suite/Makefile | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/test-suite/Makefile b/test-suite/Makefile
+index cd5886f..9418be2 100644
+--- a/test-suite/Makefile
++++ b/test-suite/Makefile
+@@ -74,6 +74,10 @@ BUGS := bugs/opened/shouldnotfail bugs/opened/shouldnotsucceed \
+ VSUBSYSTEMS := prerequisite success failure $(BUGS) output \
+ interactive micromega $(COMPLEXITY) modules
+
++ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH_OS),hurd)
++ VSUBSYSTEMS := $(filter-out micromega,$(VSUBSYSTEMS))
++endif
++
+ # All subsystems
+ SUBSYSTEMS := $(VSUBSYSTEMS) misc bugs ide
+
+--
diff --git a/debian/patches/series b/debian/patches/series
index 53d51a16..a2649778 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-test-suite-success-Nsatz.v-comment-out-Ceva.patch
+0002-Disable-micromega-tests-on-Hurd.patch