~ci-train-bot/indicator-datetime/indicator-datetime-ubuntu-disco-3637

« back to all changes in this revision

Viewing changes to tests/run-eds-ics-test.sh

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2017-08-29 15:36:32 UTC
  • mfrom: (486.1.2 calendar-data-files)
  • Revision ID: ci-train-bot@canonical.com-20170829153632-gxllchpf745uz7bp
tests: add fake calendar desktop and icon files so that they can be used at testing time

Approved by: Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
CONFIG_DIR=$4  # config files
8
8
ICS_FILE=$5    # ical file holding test data
9
9
ACCOUNTS_DB=$6 # online account database
 
10
DATA_DIR=$7    # data dir
10
11
 
11
12
echo "this script: ${SELF}"
12
13
echo "test-runner: ${TEST_RUNNER}"
34
35
export XDG_PUBLICSHARE_DIR=${TEST_TMP_DIR}
35
36
export XDG_TEMPLATES_DIR=${TEST_TMP_DIR}
36
37
export XDG_VIDEOS_DIR=${TEST_TMP_DIR}
 
38
export XDG_DATA_DIRS=$(dirname ${TEST_EXEC}):${DATA_DIR}:/usr/share
37
39
export QORGANIZER_EDS_DEBUG=On
38
40
export GIO_USE_VFS=local # needed to ensure GVFS shuts down cleanly after the test is over
39
41