Skip to content

Commit

Permalink
Update libcxx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Nov 6, 2024
1 parent 0c505a7 commit e68bd2f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions test/sources/LibcxxArrayTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@

#include "../../include/momo/stdish/vector.h"

namespace
{

using namespace libcxx_insert_range_seq;
using namespace libcxx_from_range_seq;

namespace libcxx_test_array_0
{

Expand Down Expand Up @@ -62,4 +68,6 @@ LIBCXX_NAMESPACE_STD_END

} // namespace libcxx_test_array_5

} // namespace

#endif // TEST_LIBCXX_ARRAY
8 changes: 8 additions & 0 deletions test/sources/LibcxxSegmentedArrayTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
#include "../../include/momo/stdish/vector.h"
#include "../../include/momo/SegmentedArray.h"

namespace
{

using namespace libcxx_insert_range_seq;
using namespace libcxx_from_range_seq;

namespace libcxx_test_segmented_array_sqrt
{

Expand Down Expand Up @@ -77,4 +83,6 @@ LIBCXX_NAMESPACE_STD_END

} // namespace libcxx_test_segmented_array_cnst

} // namespace

#endif // TEST_LIBCXX_ARRAY
6 changes: 5 additions & 1 deletion test/sources/libcxx/Support.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@

//#define LIBCPP_HAS_BAD_NEWS_FOR_MOMO

#define TEST_STD_VER 20
#if defined(__cpp_lib_containers_ranges)
# define TEST_STD_VER 23
#else
# define TEST_STD_VER 20
#endif

#include "support/test_macros.h"

Expand Down

0 comments on commit e68bd2f

Please sign in to comment.