diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-02-23 21:03:11 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-02-25 17:09:10 +0100 |
| commit | 5a3e0931e0e4ccd252c527b512ec1634d57489d8 (patch) | |
| tree | 6df26db1090d6edfe4430fb6dd9871465b56e32a /test/ctor.cc | |
| parent | 2855b6e1172d5b544b150bf617b216691801f574 (diff) | |
WIP
Diffstat (limited to 'test/ctor.cc')
| -rw-r--r-- | test/ctor.cc | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/test/ctor.cc b/test/ctor.cc index 6a86dc7..b18e3e7 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -31,7 +31,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) ctor::sources{ "generated_sources_test.cc", "testmain.cc", - "../configuration.cc", + {"../configuration.cc", ctor::nodist{}} }, ctor::depends({"libctor_nomain.a"}), ctor::cxx_flags{ @@ -90,6 +90,15 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) "-DOUTPUT=\"deps\"", "-fexceptions", }, + ctor::extra_dist{ + "deps_test_data/empty.d", + "deps_test_data/missing_colon.d", + "deps_test_data/multiline.d", + "deps_test_data/no_deps.d", + "deps_test_data/no_newline.d", + "deps_test_data/spaces.d", + "deps_test_data/trivial.d", + }, }, { ctor::target_type::unit_test, @@ -147,7 +156,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) ctor::sources{ "cycle_test.cc", "testmain.cc", - "../configuration.cc", + {"../configuration.cc", ctor::nodist{}} }, ctor::depends({"libctor_nomain.a"}), ctor::cxx_flags{ @@ -165,7 +174,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) ctor::sources{ "source_type_test.cc", "testmain.cc", - "../configuration.cc", + {"../configuration.cc", ctor::nodist{}} }, ctor::depends({"libctor_nomain.a"}), ctor::cxx_flags{ @@ -183,7 +192,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) ctor::sources{ "tools_test.cc", "testmain.cc", - "../configuration.cc", + {"../configuration.cc", ctor::nodist{}} }, ctor::depends({"libctor_nomain.a"}), ctor::cxx_flags{ @@ -218,6 +227,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) ctor::headers{ "paths.h", "tmpfile.h", + "uunit/uunit.h", }, ctor::cxx_flags{ "-std=c++20", "-O3", "-Wall", @@ -225,6 +235,15 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) "-fexceptions", }, ctor::ld_flags{ "-pthread" }, + ctor::extra_dist{ + "uunit/README", + "uunit/CC0-1.0", + "uunit/uunit.cc", + "uunit/examples/ExampleTest.cc", + "uunit/examples/Makefile", + "uunit/examples/getbaud.cc", + "uunit/examples/getbaud.h", + }, }, }; } |
