Skip to content

Commit 92e554e

Browse files
committed
reenable constexpr tests if not on build server, for now
1 parent 1511498 commit 92e554e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/dmp_test_constexpr.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ int main(int argc, char **argv) {
5151

5252
#include <catch2/catch.hpp>
5353

54-
#define DONT_COMPILE_CONSTEXPR_TESTS
54+
#if !defined(DONT_COMPILE_CONSTEXPR_TESTS) && defined(BUILDSERVER_MODE)
55+
// for now, was not yet working with gcc on ubuntu
56+
# define DONT_COMPILE_CONSTEXPR_TESTS
57+
#endif
5558

5659
#define DEFINE_TEST(Traits, Group, Test) \
5760
TEST_CASE(#Traits "_DiffMatchPatch_" #Group "_" #Test, #Group "_" #Traits) { STATIC_REQUIRE(Group##_##Test()); }

0 commit comments

Comments
 (0)