Artifact f7741d546c7dce85fccdc3a6b6c28d0b7f52de08:
- Executable file tests/rununittest.sh — part of check-in [cfb597082f] at 2013-11-30 08:15:57 on branch inmem-per-run-db — Still hosed (user: matt, size: 499) [annotate] [blame] [check-ins using] [more...]
#!/bin/bash # Usage: rununittest.sh testname debuglevel # # Ensure all is made (cd ..;make && make install) # Clean setup # rm -f simplerun/megatest.db simplerun/monitor.db simplerun/db/monitor.db rm -rf simplelinks/ simpleruns/ simplerun/db/ 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