mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
6228082e14
Instead of asking gtester to run ./test-conformance directly we now tell it to run a list of wrapper scripts. This results in each test being spawned in a separate process avoiding leakage of state between tests which has been a big problem with the conformance tests for quite a while now.
15 lines
197 B
Bash
Executable File
15 lines
197 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BINARY=$1
|
|
shift
|
|
XML=$1
|
|
shift
|
|
|
|
TMP=`./$BINARY -l -m thorough | grep '^/' | sed -e s/_/-/g`
|
|
for i in $TMP
|
|
do
|
|
TESTS="$TESTS wrappers/`basename $i`"
|
|
done
|
|
|
|
exec gtester -o=$XML "$@" $TESTS
|