diff options
author | Fabiano FidĂȘncio <fabiano@fidencio.org> | 2012-02-03 02:10:03 -0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-14 14:53:44 +0200 |
commit | 1e8e2f9ee082ea0fb0e71736ba6d2578dea05e70 (patch) | |
tree | 99c508b51b3e3305ee50b1f5ce5c5f442897cf05 /server/tests/test_display_base.h | |
parent | aebe837d3ae58f7bbd48bcb010680c1b95f8dc6a (diff) | |
download | spice-1e8e2f9ee082ea0fb0e71736ba6d2578dea05e70.tar.gz spice-1e8e2f9ee082ea0fb0e71736ba6d2578dea05e70.tar.xz spice-1e8e2f9ee082ea0fb0e71736ba6d2578dea05e70.zip |
Adding support to automated tests
As suggested by Alon, a simple automated test to try to find
regressions in Spice code.
To use this, compile Spice with --enable-automated-tests and
run test_display_streaming passing --automated-tests as parameter.
Diffstat (limited to 'server/tests/test_display_base.h')
-rw-r--r-- | server/tests/test_display_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tests/test_display_base.h b/server/tests/test_display_base.h index ca940571..4aeaf5f3 100644 --- a/server/tests/test_display_base.h +++ b/server/tests/test_display_base.h @@ -10,6 +10,9 @@ void test_set_simple_command_list(int* commands, int num_commands); void test_add_display_interface(SpiceServer *server); SpiceServer* test_init(SpiceCoreInterface* core); +/* Used for automated tests */ +void check_automated(int argc, char **argv); + // simple queue for commands enum { PATH_PROGRESS, |