summaryrefslogtreecommitdiff
path: root/debian/patches/0002-Disable-micromega-tests-on-Hurd.patch
blob: 2d2ef7c048b7ad3338854811272891fa30aac660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
 
--