diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-28 14:32:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-28 14:32:38 +0200 |
commit | 9693eae0d4fddb148bd5fd663a7a2e802d3e4666 (patch) | |
tree | c4aecfd4518dca552ea424e4d84fd75412edc6c1 /build | |
parent | 1c7cbb302b1c6e41eb0c5cecfc655532f1919cba (diff) |
Use utility library to arrange unit testing
Diffstat (limited to 'build')
-rw-r--r-- | build/root.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/root.build b/build/root.build index 85f69a1..0d887ec 100644 --- a/build/root.build +++ b/build/root.build @@ -11,8 +11,6 @@ ixx{*}: extension = ixx txx{*}: extension = txx cxx{*}: extension = cxx -cxx.poptions =+ "-I$out_root" "-I$src_root" - # Load the cli module but only if it's available. This way a distribution # that includes pre-generated files can be built without installing cli. # This is also the reason why we need to explicitly spell out individual @@ -21,9 +19,11 @@ cxx.poptions =+ "-I$out_root" "-I$src_root" # using? cli -# All exe{} in unit-tests/ are, well, tests. +# All exe{} in unit-tests/ are, well, tests. Also don't link whole archives +# by default there. # unit-tests/exe{*}: test = true +unit-tests/libu{*}: bin.whole = false # Specify the test target for cross-testing. # |