Add an arg to test.sh, for the style number
Now you can do `./test/test.sh 18` or `./test.sh 18`.
This commit is contained in:
@@ -10,8 +10,15 @@ cd $(dirname $0)
|
||||
failures=0
|
||||
total=0
|
||||
mydir=$(pwd)
|
||||
if [ -z "$1" ]; then
|
||||
styles_to_test=$(echo ../[0-9][0-9]-*)
|
||||
else
|
||||
styles_to_test=../$1-*
|
||||
fi
|
||||
|
||||
files=$(echo *.txt)
|
||||
for dir in ../[0-9][0-9]-* ; do
|
||||
|
||||
for dir in $styles_to_test ; do
|
||||
cd $dir
|
||||
for file in $files ; do
|
||||
for exe in * ; do
|
||||
|
||||
Reference in New Issue
Block a user