summaryrefslogtreecommitdiffstats
path: root/tests/array-test.c
Commit message (Collapse)AuthorAgeFilesLines
* array-test: assert wl_array_add result is not NULLU. Artie Eoff2014-01-151-0/+3
| | | | Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* tests: fix make check for out-of-tree buildsDylan Noblesmith2012-06-301-1/+1
| | | | | | | | | | 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: Fix signedness warningsKristian Høgsberg2012-04-131-6/+6
|
* Add simple memory leak check to all tests.U. Artie Eoff2012-03-241-0/+2
| | | | | | | | | 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>
* Add wl_array_for_eachKristian Høgsberg2012-03-041-0/+18
|
* tests: Add Unit tests for wl_map and wl_array data structuresKristian Høgsberg2012-03-021-0/+118
We use a simple test-runner helper that runs each test in a separate process and reports the pass/fail rate at the end.