syncevolution/src/testcases.am
Patrick Ohly f663c2716c testing: update packaging and testing of pre-compiled binaries
Only the "client-test" executable and its test data were installed so far, in
/usr/bin resp. the doc dir. Now also test-dbus.py and testpim.py plus their
data files get installed, using a new /usr/lib/syncevolution/test directory
for all test files and commands.

"runtests.py --prebuilt" can take one or more .deb files including these
tests, will install them as the "compile" operation and then will use the
installed SyncEvolution, without overriding any paths. This relies on having
suitable rights for "dpkg" and /usr/lib/syncevolution/test; the way how that
is done in the nightly testing is via chroots where the entire file system
is writable by the normal test user.

Normal users without such write access to /usr/lib/syncevolution/test need
to copy that directory into their home directory first.
2014-01-17 16:07:58 +01:00

27 lines
1,004 B
Text

# this file is not standalone. it needs variable TEST_FILES_GENERATED to be
# already defined.
src_testcasesdir = $(testdir)/testcases
dist_src_testcases_DATA = \
src/testcases/local.png \
src/testcases/google_event.ics \
src/testcases/yahoo_contact.vcf \
src/testcases/eds_contact.vcf \
src/testcases/eds_event.ics \
src/testcases/eds_event.ics.local \
src/testcases/eds_memo.ics \
src/testcases/eds_task.ics \
$(TEST_FILES_GENERATED)
src_testcases_lcsdir = $(testdir)/testcases/lcs
dist_src_testcases_lcs_DATA = \
src/testcases/lcs/file1.txt \
src/testcases/lcs/file2.txt
src_testcases_templates_clientsdir = $(testdir)/testcases/templates/clients
dist_src_testcases_templates_clients_DATA = \
src/testcases/templates/clients/SyncEvolution.ini
src_testcases_templates_clients_phone_nokia_s40dir = $(testdir)/testcases/templates/clients/phone/nokia/S40
dist_src_testcases_templates_clients_phone_nokia_s40_DATA = \
src/testcases/templates/clients/phone/nokia/S40/7210c.ini