aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/Makefile
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2016-09-30 16:19:45 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2016-09-30 16:19:45 +0200
commit98da77db53b4a41062c47f8f55418eb1fbb7e5bb (patch)
tree73036ad66da19b822daf8838d4248a068c32caec /test-suite/Makefile
parenta7a3e5b4d6df64b9bee42a86cd018c19ac6b01c0 (diff)
test-suite/output-modulo-time made more robust
Order of items made stable
Diffstat (limited to 'test-suite/Makefile')
-rw-r--r--test-suite/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-suite/Makefile b/test-suite/Makefile
index efa0236c3..b32071e80 100644
--- a/test-suite/Makefile
+++ b/test-suite/Makefile
@@ -309,12 +309,15 @@ $(addsuffix .log,$(wildcard output-modulo-time/*.v)): %.v.log: %.v %.out
-e 's/\s*0\.\s*//g' \
-e 's/\s*[-+]nan\s*//g' \
-e 's/\s*[-+]inf\s*//g' \
+ -e 's/^[^a-zA-Z]*//' \
+ | sort \
> $$tmpoutput; \
sed -e 's/\s*[-+0-9]*\.[0-9][0-9]*\s*//g' \
-e 's/\s*0\.\s*//g' \
-e 's/\s*[-+]nan\s*//g' \
-e 's/\s*[-+]inf\s*//g' \
- $*.out > $$tmpexpected; \
+ -e 's/^[^a-zA-Z]*//' \
+ $*.out | sort > $$tmpexpected; \
diff -b -u $$tmpexpected $$tmpoutput 2>&1; R=$$?; times; \
if [ $$R = 0 ]; then \
echo $(log_success); \