tests/interactive/wrapper.sh.in
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | UNIT_TEST=$1 |
| 4 | |
| 5 | shift |
| 6 | |
| 7 | echo "Running ./test-interactive $UNIT_TEST $@" |
| 8 | echo "" |
| 9 | echo "NOTE: For debugging purposes, you can run this single test as follows:" |
| 10 | echo "$ libtool --mode=execute \\" |
| 11 | echo " gdb --eval-command=\"b `echo $UNIT_TEST|tr '-' '_'`_main\" \\" |
| 12 | echo " --args ./test-interactive $UNIT_TEST" |
| 13 | |
| 14 | @abs_builddir@/test-interactive $UNIT_TEST "$@" |
| 15 |