Script to run all tests added. Prep work on new computer before fixing the remaining major template class bug.
This commit is contained in:
14
tests/runTests.sh
Executable file
14
tests/runTests.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
krakenPath="../build/kraken"
|
||||
testDir=${1:-"../tests"}
|
||||
ext=${2:-"krak"}
|
||||
|
||||
fileList=""
|
||||
for dir in `find ${testDir} -type f -name "*.${ext}"`; do
|
||||
filename=$(basename ${dir})
|
||||
filename="${filename%.*}"
|
||||
fileList+=\ \.\/$filename
|
||||
done
|
||||
|
||||
${krakenPath} "--test" ${fileList}
|
||||
Reference in New Issue
Block a user