diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-04-05 21:10:53 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-04-05 21:10:53 -0500 |
commit | 13999bfbed4916149af24be2dc504461c4bdf0e9 (patch) | |
tree | e66f3399d6d14345a7ce578406b0681216578f90 /tests | |
parent | a0a6516e74f3b400058af01babfba61bdb1516eb (diff) | |
download | ayatana-indicator-datetime-13999bfbed4916149af24be2dc504461c4bdf0e9.tar.gz ayatana-indicator-datetime-13999bfbed4916149af24be2dc504461c4bdf0e9.tar.bz2 ayatana-indicator-datetime-13999bfbed4916149af24be2dc504461c4bdf0e9.zip |
in tests/run-eds-test.sh, improve the comments
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run-eds-test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-eds-test.sh b/tests/run-eds-test.sh index 6e6f575..1f020ef 100755 --- a/tests/run-eds-test.sh +++ b/tests/run-eds-test.sh @@ -10,10 +10,12 @@ echo ARG6=$6 # full exectuable path of evolution-source-registry echo ARG7=$7 # full executable path of gvfs echo ARG8=$8 # config files +# set up the tmpdir and tell the shell to purge it when we exit export TEST_TMP_DIR=$(mktemp -p "${TMPDIR:-.}" -d $3-XXXXXXXXXX) || exit 1 trap 'rm -rf $TEST_TMP_DIR' EXIT echo "running test '$3' in ${TEST_TMP_DIR}" +# set up the environment variables export QT_QPA_PLATFORM=minimal export HOME=${TEST_TMP_DIR} export XDG_RUNTIME_DIR=${TEST_TMP_DIR} @@ -40,6 +42,7 @@ if [ -d $8 ]; then cp --verbose --archive $8/. $HOME fi +# run dbus-test-runner $1 --keep-env --max-wait=90 \ --task $2 --task-name $3 --wait-until-complete --wait-for=org.gnome.evolution.dataserver.Calendar4 \ --task $4 --task-name "evolution" --wait-until-complete -r |