mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 00:50:42 -05:00
98f942fd72
* tests/conform/wrapper.sh: * tests/conform/test-conform-main.c: * tests/conform/test-timeline.c: Adds Neil's updates to test-timeline.c so it now works with the new unit testing infrastructure. Also some fixes to ensure wrappers get setup correctly for the timeline tests. * tests/interactive/test-main.c: cast the symbol return pointer as (gpointer *) to avoid warning * tests/conform/test-pick.c: g_assert that the test passes, instead of using exit() * test/conform/ADDING_NEW_TESTS: Fixes a silly typo
16 lines
465 B
Bash
Executable File
16 lines
465 B
Bash
Executable File
#!/bin/sh
|
|
|
|
UNIT_TEST=`basename $0`
|
|
UNIT_TEST_PATH=`./test-conformance -l -m thorough |grep "$UNIT_TEST\$"`
|
|
|
|
echo "Running: gtester -p $UNIT_TEST_PATH ./test-conformance"
|
|
echo ""
|
|
gtester -p $UNIT_TEST_PATH ./test-conformance
|
|
|
|
echo ""
|
|
echo "NOTE: For debugging purposes, you can run this single test as follows:"
|
|
echo "$ libtool --mode=execute \\"
|
|
echo " gdb --eval-command=\"b $UNIT_TEST\" \\"
|
|
echo " --args ./test-conformance -p $UNIT_TEST_PATH"
|
|
|