From: helly Date: Mon, 17 Apr 2006 02:06:08 +0000 (+0000) Subject: - Sort files in lessons dir when testing X-Git-Tag: 0.13.6~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff656bb95728387b5b2b1232a70688455c3b62b5;p=re2c - Sort files in lessons dir when testing --- diff --git a/run_tests.sh.in b/run_tests.sh.in index de033b28..c1b3cc1d 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -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'`