1
Description: Build automated test
2
The testcases are (as acknowledged on the spice homepage) are for the most
3
part a big to-do. However there is one testcase which build and runs. It
4
does not require snappy to run, and none of the testcases actually need
5
snappy to build. So always add -DAUTOMATED_TESTS to the build flags, and
6
add a 'make check' target which will be run during package build, which
7
runs the automated testcase.
8
Author: Serge Hallyn <serge.hallyn@ubuntu.com>
11
Index: spice/server/tests/Makefile.am
12
===================================================================
13
--- spice.orig/server/tests/Makefile.am 2013-02-01 14:24:08.683413000 -0600
14
+++ spice/server/tests/Makefile.am 2013-02-02 12:41:57.960424928 -0600
16
$(SPICE_NONPKGCONFIG_CFLAGS) \
19
-if SUPPORT_AUTOMATED_TESTS
20
INCLUDES += -DAUTOMATED_TESTS
24
$(top_builddir)/spice-common/common/libspice-common.la \
31
+ ./test_display_streaming --automated-tests