]> granicus.if.org Git - re2c/commitdiff
- Sort files in lessons dir when testing
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 17 Apr 2006 02:06:08 +0000 (02:06 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 17 Apr 2006 02:06:08 +0000 (02:06 +0000)
run_tests.sh.in

index de033b28c7317719cbf9db1b2a0f80c31ae37db4..c1b3cc1d35ae4b4a3de2f4c2fcc65e0ce94c408a 100644 (file)
@@ -3,7 +3,7 @@ _XPG=1
 result=0
 errcnt=0
 tstcnt=0;
-for x in @top_srcdir@/test/*.re `find @top_srcdir@/lessons -name '*.re'`; do
+for x in @top_srcdir@/test/*.re `find @top_srcdir@/lessons -name '*.re'|sort`; do
        tstcnt=$(($tstcnt+1))
        switches=`basename $x|sed -e 's/^[^.]*\.\(.*\)\.re$/-\1/g' -e 's/^[^-].*//g'`
        genname=`echo $switches|sed -e 's,^.[^o].*$,,g' -e 's,^-o\([ -]*\),@builddir@/test/\1,g'`