Commit 9ef48479 authored by Markus Klinik's avatar Markus Klinik
Browse files

add test runner

parent feefc666
# make filename absolute
RASCAL_JAR=$(readlink -f rascal-shell-unstable.jar)
cd src
# generate import statements for all files named *Spec.rsc
function mkTestRunner()
ls *Spec.rsc | sed "s/\(.*\).rsc/import \1;/"
echo ":test"
# pipe the import statements to the rascal shell
mkTestRunner | java -jar $RASCAL_JAR
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment