m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/checks/Attic/check-them,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/checks/Attic/check-them,v [branch-1_4]
Date: Mon, 03 Jul 2006 02:36:26 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/07/03 02:36:25

Index: checks/check-them
===================================================================
RCS file: /sources/m4/m4/checks/Attic/check-them,v
retrieving revision 1.1.1.1.2.4
retrieving revision 1.1.1.1.2.5
diff -u -b -r1.1.1.1.2.4 -r1.1.1.1.2.5
--- checks/check-them   30 Jun 2006 18:58:11 -0000      1.1.1.1.2.4
+++ checks/check-them   3 Jul 2006 02:36:25 -0000       1.1.1.1.2.5
@@ -31,11 +31,18 @@
 m4=`m4 --help | sed -e 's/Usage: \(.*\) \[OPTION.*/\1/' \
     -e 's/\\\\/\\\\\\\\/g' -e 1q`
 
-# Run the tests.  This assumes pwd is the checks directory.
+# Find out where the examples live.
+examples=.
+if test "x$1" = x-I ; then
+  examples="$2"
+  shift; shift
+fi
+
+# Run the tests.
 for file
 do
   echo "Checking $file"
-  LC_MESSAGES=C m4 -d -I ../examples $file >$out 2>$err
+  LC_MESSAGES=C m4 -d -I "$examples" $file >$out 2>$err
 
   if test $? == 77 ; then
     skipped="$skipped $file"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]