summaryrefslogtreecommitdiff
path: root/tests/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c21
1 files changed, 4 insertions, 17 deletions
diff --git a/tests/main.c b/tests/main.c
index f3f1f06..49c6aa8 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -8,21 +8,8 @@
int main()
{
- run_test(test_LILY_LOCATION);
- run_test(test_assert_msg);
- run_test(test_assert_true);
- run_test(test_assert_false);
- run_test(test_assert_not_null);
- run_test(test_assert_null);
- run_test(test_assert_ptr_equal);
- run_test(test_assert_ptr_not_equal);
- run_test(test_assert_int_equal);
- run_test(test_assert_int_not_equal);
-
- run_test(test_mock_enqueue_dequeue_int);
- run_test(test_mock_enqueue_dequeue_heterogenous);
- run_test(test_LILY_NARGS);
- run_test(test_lily_mock_call);
-
- return 0;
+ #define X(test) run_test(test);
+ TESTS
+ #undef X
+ return 0;
}