From 23ed415852c0e1cbb2e85c8c354d9a3ec5e66c88 Mon Sep 17 00:00:00 2001 From: jlamothe Date: Thu, 23 Nov 2023 18:14:54 +0000 Subject: [PATCH] WIP: testing run_test_with() --- test/mkfile | 2 ++ test/tests.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/mkfile b/test/mkfile index d90d94f..28f73d7 100644 --- a/test/mkfile +++ b/test/mkfile @@ -22,6 +22,7 @@ HFILES=\ util.h\ initial-state.h\ run-test.h\ + run-test-with.h\ append-test-log.h\ test-context.h @@ -29,6 +30,7 @@ OFILES=\ util.$O\ initial-state.$O\ run-test.$O\ + run-test-with.$O\ append-test-log.$O\ test-context.$O diff --git a/test/tests.c b/test/tests.c index 134f991..e2b2ad4 100644 --- a/test/tests.c +++ b/test/tests.c @@ -25,6 +25,7 @@ #include "../9unit.h" #include "initial-state.h" #include "run-test.h" +#include "run-test-with.h" #include "append-test-log.h" #include "test-context.h" @@ -54,6 +55,7 @@ tests(TestState *s) test_context_with(s, "initial state", test_initial_state, &scpy); test_context(s, "run_test()", test_run_test); + test_contest(s, "run_test_with()", test_run_test_with); test_context(s, "append_test_log()", test_append_test_log); test_context(s, "test_context()", test_test_context); }