From 61fca4c1e9271b8b5d8c90589e0c89991871a8a6 Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Thu, 29 Nov 2007 14:02:40 +0000 Subject: Added check.dpatch to remove warnings in tests. --- debian/patches/check.dpatch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 debian/patches/check.dpatch (limited to 'debian/patches/check.dpatch') diff --git a/debian/patches/check.dpatch b/debian/patches/check.dpatch new file mode 100755 index 00000000..620b18a7 --- /dev/null +++ b/debian/patches/check.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## check.dpatch by Samuel Mimram +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Suppress warnings from tests outputs. + +@DPATCH@ +diff -urNad coq-8.1.pl2+dfsg~/test-suite/check coq-8.1.pl2+dfsg/test-suite/check +--- coq-8.1.pl2+dfsg~/test-suite/check 2007-11-29 14:02:40.000000000 +0000 ++++ coq-8.1.pl2+dfsg/test-suite/check 2007-11-29 14:03:39.000000000 +0000 +@@ -52,7 +52,7 @@ + nbtests=`expr $nbtests + 1` + printf " "$f"..." + tmpoutput=`mktemp /tmp/coqcheck.XXXXXX` +- $command $f 2>&1 | grep -v "Welcome to Coq" | grep -v "Skipping rcfile loading" > $tmpoutput ++ $command $f 2>&1 | grep -v "Welcome to Coq" | grep -v "Skipping rcfile loading" | grep -v "some rule has been masked" > $tmpoutput + foutput=`dirname $f`/`basename $f .v`.out + diff $tmpoutput $foutput >& /dev/null + if [ $? = 0 ]; then -- cgit v1.2.3