|
5 | 5 |
|
6 | 6 | # Tests |
7 | 7 | add_executable(beman.inplace_vector.test inplace_vector.test.cpp) |
8 | | - |
9 | 8 | target_link_libraries(beman.inplace_vector.test PRIVATE beman.inplace_vector) |
10 | | - |
11 | 9 | add_test(NAME beman.inplace_vector.test COMMAND beman.inplace_vector.test) |
12 | 10 |
|
13 | 11 | # Migrated test from original implementation |
@@ -35,32 +33,32 @@ function(add_gtest NAME) |
35 | 33 | endfunction() |
36 | 34 |
|
37 | 35 | # Tests for official specs |
38 | | -add_gtest(container_requirements) |
39 | | -add_gtest(triviality) |
40 | | -add_gtest(compare) |
41 | | -add_gtest(constructors) |
42 | | -add_gtest(size_n_data) |
43 | | -add_gtest(erasure) |
44 | | -add_gtest(modifiers) |
| 36 | +# add_gtest(container_requirements) |
| 37 | +# add_gtest(triviality) |
| 38 | +# add_gtest(compare) |
| 39 | +# add_gtest(constructors) |
| 40 | +# add_gtest(size_n_data) |
| 41 | +# add_gtest(erasure) |
| 42 | +# add_gtest(modifiers) |
45 | 43 |
|
46 | 44 | if(BEMAN_INPLACE_VECTOR_FREESTANDING_DELETED) |
47 | 45 | add_gtest(freestanding) |
48 | 46 | endif() |
49 | 47 |
|
50 | | -# only add noexception tests if NO_EXCEPTIONS option is set and compiler supports -fno-exceptions |
51 | | -if( |
52 | | - BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS |
53 | | - AND ( |
54 | | - CMAKE_CXX_COMPILER_ID STREQUAL "Clang" |
55 | | - OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU" |
56 | | - ) |
57 | | -) |
58 | | - add_gtest(noexceptions) |
59 | | - target_compile_options( |
60 | | - beman.inplace_vector.tests.noexceptions |
61 | | - PRIVATE -fno-exceptions |
62 | | - ) |
63 | | -endif() |
| 48 | +# # only add noexception tests if NO_EXCEPTIONS option is set and compiler supports -fno-exceptions |
| 49 | +# if( |
| 50 | +# BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS |
| 51 | +# AND ( |
| 52 | +# CMAKE_CXX_COMPILER_ID STREQUAL "Clang" |
| 53 | +# OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU" |
| 54 | +# ) |
| 55 | +# ) |
| 56 | +# add_gtest(noexceptions) |
| 57 | +# target_compile_options( |
| 58 | +# beman.inplace_vector.tests.noexceptions |
| 59 | +# PRIVATE -fno-exceptions |
| 60 | +# ) |
| 61 | +# endif() |
64 | 62 |
|
65 | 63 | # constexpr test |
66 | 64 | add_executable(beman.inplace_vector.tests.constexpr constexpr.test.cpp) |
|
0 commit comments