aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build: Move tests/Makefile.am into toplevel Makefile.amKristian Høgsberg2014-03-071-58/+0
|
* build: Move src/Makefile.am into toplevel Makefile.amKristian Høgsberg2014-03-071-3/+3
|
* tests: add wl_resource testsMarek Ch2013-09-211-1/+3
|
* tests: add unit tests for wl_signalMarek Ch2013-09-211-1/+3
| | | | Test wl_signal initialization, adding and getting listeners and emitting
* Added a destroy signal to the wl_display object.Jason Ekstrand2013-01-111-0/+2
| | | | Added a destroy signal to the wl_display object.
* tests: Add queue test caseJonas Ådahl2012-11-051-1/+3
| | | | | | | | Check that after a callback removes a proxy that most likely will have several events queued up with the same target proxy, no more callbacks are invoked. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* tests: test that path names longer than 108 bytes are rejectedDylan Noblesmith2012-06-301-1/+4
| | | | | These would either overflow the struct sockaddr_un, or be truncated and leave a non-null-terminated string.
* tests: fix make check for out-of-tree buildsDylan Noblesmith2012-06-301-1/+2
| | | | | | | | | | It was failing with missing include files. While here, destroy the ugly "../src/..." include paths used in the tests that was just hacking around this problem in the Makefile: sed -i s/..\\/src\\/// tests/*.c
* tests: sort list of testsDylan Noblesmith2012-06-301-9/+9
|
* Optimize wl_fixed_t to/from double conversion functionsKristian Høgsberg2012-05-141-1/+8
|
* tests: Fix out-of-tree buildsDaniel Stone2012-05-021-1/+1
| | | | | | | Make sure we include any generated headers from src/ as well, like wayland-version.h. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
* tests: Just list tests under the TESTS variableKristian Høgsberg2012-04-261-4/+2
|
* connection: Move closure object out of wl_connectionKristian Høgsberg2012-04-221-1/+1
|
* os: wrap socket(SOCK_CLOEXEC) callsPekka Paalanen2012-04-201-1/+7
| | | | | | | | | | | | | | | | | Some system C libraries do not offer SOCK_CLOEXEC flag. Add a new header for OS compatibility wrappers. Wrap socket() calls into wl_os_socket_cloexec() which makes sure the O_CLOEXEC flag gets set on the file descriptor. On systems having SOCK_CLOEXEC this uses the old socket() call, and falls back if it fails due to the flag (kernel not supporting it). wayland-os.h is private and not exported. Add close-on-exec tests for both normal and forced fallback paths. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* tests: support testing fd inheritance over execPekka Paalanen2012-04-201-4/+12
| | | | | | | Add facility for testing how (many) file descriptors survive an exec. This allows implementing O_CLOEXEC tests. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* tests: detect fd leaksPekka Paalanen2012-04-201-1/+1
| | | | | | | | Detect file descriptor leaks in tests. Add a sanity test to verify that we catch the leaks. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* tests: add sanity-testPekka Paalanen2012-04-191-0/+2
| | | | | | | Test the testing framework itself, so that it catches the errors we expect it to. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* tests: put common test source files in a variablePekka Paalanen2012-04-191-6/+8
| | | | | | Makes all test targets have the same common make dependencies. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* server: Add client destroy signalKristian Høgsberg2012-04-131-1/+8
|
* Add simple memory leak check to all tests.U. Artie Eoff2012-03-241-1/+1
| | | | | | | | | Wrap all tests with a memory balance check to detect potential memory leaks. Fixed a few tests that had memory leaks contained in the tests themselves. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* test: add a unit test for the event loop post dispatch checkAnder Conselvan de Oliveira2012-03-201-2/+5
|
* tests: Add wl_list testsKristian Høgsberg2012-03-051-1/+2
|
* tests: makefile error: missing test-runner.hGaetan Nadon2012-03-051-1/+1
| | | | | | Detected by running distcheck Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* check: connection-test fails to link to ffiGaetan Nadon2012-03-041-1/+1
| | | | | | | This prevents distcheck from completing. Moving the -lffi at the end of the command fixes the problem. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* tests: Add connection testsKristian Høgsberg2012-03-021-2/+6
|
* tests: Add Unit tests for wl_map and wl_array data structuresKristian Høgsberg2012-03-021-0/+8
We use a simple test-runner helper that runs each test in a separate process and reports the pass/fail rate at the end.