Artifact 45ac8d74ef2be29b74d4cdfb2fc15b04a428fd7a:
- Executable file tests/rununittest.sh — part of check-in [662f6304a0] at 2013-11-12 21:12:06 on branch trunk — More ported to inmem (user: matt, size: 434) [annotate] [blame] [check-ins using] [more...]
#!/bin/bash # Usage: rununittest.sh testname debuglevel # # Clean setup # rm -f simplerun/megatest.db simplerun/monitor.db simplerun/db/monitor.db rm -rf simplelinks/ simpleruns/ mkdir -p simplelinks simpleruns (cd simplerun;cp ../../*_records.scm .;perl -pi.bak -e 's/define-inline/define/' *_records.scm) # Run the test $1 is the unit test to run cd simplerun;echo '(load "../tests.scm")' | ../../bin/megatest -repl -debug $2 $1