Use Boost lightweight_test

close #11
This commit is contained in:
Vinnie Falco
2019-09-13 07:58:41 -07:00
parent 406b929fc5
commit 773450c868
5 changed files with 1063 additions and 1502 deletions
+13 -22
View File
@@ -7,28 +7,19 @@
# Official repository: https://github.com/boostorg/fixed_string
#
local SOURCES =
fixed_string.cpp
import testing ;
import ../../config/checks/config : requires ;
local defines =
[ requires
cxx11_constexpr
cxx11_decltype
cxx11_hdr_tuple
cxx11_template_aliases
cxx11_variadic_templates
]
;
local RUN_TESTS ;
project : requirements $(defines) ;
for local f in $(SOURCES)
{
RUN_TESTS += [ run $(f) lib.cpp ] ;
}
alias run-tests : $(RUN_TESTS) ;
exe fat-tests :
$(SOURCES)
lib.cpp
;
explicit fat-tests ;
run $(SOURCES)
lib.cpp
: : : : run-fat-tests ;
explicit run-fat-tests ;
run fixed_string.cpp ;