aboutsummaryrefslogtreecommitdiff
path: root/tests/run_one_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_one_test.sh')
-rw-r--r--tests/run_one_test.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/run_one_test.sh b/tests/run_one_test.sh
deleted file mode 100644
index 4619359..0000000
--- a/tests/run_one_test.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -xe
-if [ -z $DISPLAY ]; then
- exec xvfb-run -s "+extension composite" -a $0 $1 $2 $3
-fi
-
-echo "Running test $2"
-
-# TODO keep the log file, and parse it to see if test is successful
-($1 --dbus --experimental-backends --backend dummy --log-level=debug --log-file=$PWD/log --config=$2) &
-main_pid=$!
-$3
-
-kill -INT $main_pid || true
-cat log
-rm log
-wait $main_pid
-
-