mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
1860d45087
I was fed up to cd into the tests/conform or tests/interactive directories to launch a specific test. Now, with the power the abs_ variants of builddir and srcdir we can run specific test from any directory. http://bugzilla.clutter-project.org/show_bug.cgi?id=2159
16 lines
389 B
Bash
Executable File
16 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
|
|
UNIT_TEST=$1
|
|
|
|
shift
|
|
|
|
echo "Running ./test-interactive $UNIT_TEST $@"
|
|
echo ""
|
|
echo "NOTE: For debugging purposes, you can run this single test as follows:"
|
|
echo "$ libtool --mode=execute \\"
|
|
echo " gdb --eval-command=\"b `echo $UNIT_TEST|tr '-' '_'`_main\" \\"
|
|
echo " --args ./test-interactive $UNIT_TEST"
|
|
|
|
@abs_builddir@/test-interactive $UNIT_TEST "$@"
|
|
|