mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-29 03:57:43 +02:00
Initial commit
This commit is contained in:
23
test/CMakeLists.txt
Normal file
23
test/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#
|
||||
# Official repository: https://github.com/boostorg/fixed_string
|
||||
#
|
||||
|
||||
GroupSources (include/boost/fixed_string fixed_string)
|
||||
GroupSources (test "/")
|
||||
|
||||
add_executable (tests
|
||||
${PROJECT_FILES}
|
||||
Jamfile
|
||||
lib.cpp
|
||||
fixed_string.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(tests
|
||||
)
|
||||
|
||||
set_property(TARGET tests PROPERTY FOLDER "tests")
|
34
test/Jamfile
Normal file
34
test/Jamfile
Normal file
@ -0,0 +1,34 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#
|
||||
# Official repository: https://github.com/boostorg/fixed_string
|
||||
#
|
||||
|
||||
local SOURCES =
|
||||
fixed_string.cpp
|
||||
;
|
||||
|
||||
local RUN_TESTS ;
|
||||
|
||||
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 ;
|
1481
test/fixed_string.cpp
Normal file
1481
test/fixed_string.cpp
Normal file
File diff suppressed because it is too large
Load Diff
11
test/lib.cpp
Normal file
11
test/lib.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/fixed_string
|
||||
//
|
||||
|
||||
#include <boost/beast/_experimental/unit_test/main.ipp>
|
||||
|
Reference in New Issue
Block a user