f663c2716c
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.
16 lines
458 B
Makefile
16 lines
458 B
Makefile
#
|
|
# Hand-written Makefile for using installed tests. Installed together
|
|
# with test binaries and data files as part of "make install" if
|
|
# either --enable-unit-tests or --enable-integration-tests was used
|
|
# during configure.
|
|
#
|
|
# Currently it only provides the "testclean" target
|
|
# expected by runtest.py.
|
|
#
|
|
|
|
.PHONY: testclean clean
|
|
|
|
testclean:
|
|
rm -rf *.test.vcf *.log *.log.html *.tests *.diff *.dat *Client_Sync_*client.* *Client_Source*
|
|
|
|
clean: testclean
|