summaryrefslogtreecommitdiffstats
path: root/server/tests
Commit message (Collapse)AuthorAgeFilesLines
* server/tests: show port to connect toAlon Levy2011-05-091-1/+3
|
* build: fix gettimeofday warningMarc-André Lureau2011-05-031-0/+1
| | | | | | CC test_playback.o test_playback.c: In function ‘playback_timer_cb’: test_playback.c:56:5: warning: implicit declaration of function ‘gettimeofday’
* autotools: refactor the whole build machineryChristophe Fergeau2011-05-031-17/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spice Makefile.am setup is a bit confusing, with source file names being listed several times in different Makefile.am (generally, once in EXTRA_DIST and another time in another Makefile.am in _SOURCES). The client binaries are built by client/x11/Makefile.am, which means recursing into client, then into x11 to finally build spicec. This Makefile.am is also referencing files from common/ and client/, which is a bit unusual with autotools. This patch attempts to simplify the build process to get something more usual from an autotools point of view. The source from common/ are compiled into a libtool convenience library, which the server and the client links against which avoids referencing source files from common/ when building the server and the client. The client is built in client/Makefile.am and directly builds files from x11/ windows/ and gui/ if needed (without recursing in these subdirectories). This makes the build simpler to understand, and also makes it possible to list source files once, which avoids potential make distcheck breakage when adding new files. There is a regression in this patch with respect to sw_canvas/gl_canvas/gdi_canvas. They should be built with different preprocessor #defines resulting in different behaviour of the canvas for the client and the server. However, this is not currently the case, both the client and the server will use the same code for now (which probably means one of them is broken). This will be fixed in a subsequent commit. make distcheck passes, but compilation on windows using the autotools build system hasn't been tested, which means it's likely to be broken. It shouldn't be too hard ot fix it though, just let me know of any issues with this.
* server/tests remove useless assignmentChristophe Fergeau2011-04-081-1/+0
| | | | This was detected by clang-static-analyzer.
* tests: fix compilation with -Wall -WerrorChristophe Fergeau2011-04-083-3/+7
| | | | | | When compiling spice with make CFLAGS="-g3 -ggdb3 -O0 -Wall -Werror", the build broken because of a few unused variables/missing returns. This patch fixes these warnings.
* remove duplicated macroChristophe Fergeau2011-04-041-2/+0
| | | | MIN() is already defined in spice-protocol/spice/macros.h
* server/tests: add test_playbackAlon Levy2011-03-223-1/+105
|
* server/tests/basic_event_loop: fix bzero warningAlon Levy2011-02-111-0/+1
|
* server/tests: split test_display_no_ssl to test_display_base, add streaming testAlon Levy2011-01-105-587/+650
|
* server/tests/test_display_no_ssl: add update_area, COPY_BITS to tested ↵Alon Levy2011-01-101-29/+163
| | | | functions, make a queue of QXLCommandExt waiting (cursor still with production at get_command)
* server/tests/test_display_no_ssl: add surface create/destroy test (commented ↵Alon Levy2011-01-101-20/+145
| | | | out), and square mode (default)
* server/tests: fix timer reset to allow setting next call during callbackAlon Levy2011-01-101-1/+1
|
* server/tests/test_display_no_ssl: change color every circleAlon Levy2011-01-101-9/+14
|
* server/tests/test_display_no_ssl: restart notify timerAlon Levy2011-01-101-1/+1
|
* server/tests: basic_event_loop: reset timer after firing itAlon Levy2011-01-101-0/+1
|
* server/tests/test_display_no_ssl: disable cursor test until it works correctlyAlon Levy2011-01-101-2/+2
|
* server/test/test_display_no_ssl: add beginning of basic cursor item test. ↵Alon Levy2011-01-101-6/+67
| | | | doesn't actually show anything on client. also, leaks.
* server/tests/test_display_no_ssl: make window 320x320, two colored updates, ↵Alon Levy2011-01-101-5/+5
| | | | one in notify batch
* Makefiles: fix server/tests/test_util.h not being included in make distHans de Goede2010-12-171-2/+2
|
* server/tests: fix for AM_LDFLAGS introductionAlon Levy2010-12-081-4/+4
|
* server/tests: Makefile.am: use AM_LDFLAGS instead of LDFLAGSAlon Levy2010-12-071-1/+1
|
* server/tests: add test_display_no_sslAlon Levy2010-11-304-50/+588
| | | | | | | | | | updates taken from spice vga mode updates, i.e. non cacheable, glz compressed (depends on whatever settings you apply to the server) opaque draw operations. + completed the SpiceCoreInterface implementation (timers) v1->v2: removed test_util.c (Hans) replaced mallocz with calloc (Hans)
* server/tests: Makefile.am fixesAlon Levy2010-11-301-2/+2
| | | | | * don't install tests on make install * don't forget anything for make dist tarball
* add .gitignore for testsAlon Levy2010-11-301-0/+4
|
* server: tests: add basic tests with working do nothing serverAlon Levy2010-11-087-0/+291