From 463f0740e1731c15917ffdb3e2f4b3f4c83aa024 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 31 Oct 2021 16:02:19 +0100 Subject: Change to testdir before executing tests and add global paths variables for easier path testing inside the unit-tests. --- test/ctor.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/ctor.cc') diff --git a/test/ctor.cc b/test/ctor.cc index 61c3515..d7cad34 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -14,7 +14,7 @@ BuildConfigurations ctorTestConfigs() .target = "execute_test", .sources = { "execute_test.cc", - "uunit/uunit.cc", + "testmain.cc", "../src/execute.cc", }, .cxxflags = { @@ -29,7 +29,7 @@ BuildConfigurations ctorTestConfigs() .target = "tasks_test", .sources = { "tasks_test.cc", - "uunit/uunit.cc", + "testmain.cc", }, .depends = {"libctor.a"}, .cxxflags = { @@ -44,7 +44,7 @@ BuildConfigurations ctorTestConfigs() .target = "source_type_test", .sources = { "source_type_test.cc", - "uunit/uunit.cc", + "testmain.cc", }, .depends = {"libctor.a"}, .cxxflags = { -- cgit v1.2.3