From fa149b8c8c57a88db14bc017ff048b70963e9d86 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 22 Jan 2017 19:55:54 -0600 Subject: updates for new tests and layout --- tests/CMakeLists.txt | 2 ++ tests/Makefile.am | 2 ++ 2 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9196783..fa1bb51 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -71,6 +71,7 @@ endif() # bntest add_executable(bntest bntest.c) +set_source_files_properties(bntest.c PROPERTIES COMPILE_FLAGS -ULIBRESSL_INTERNAL) target_link_libraries(bntest ${TESTS_LIBS}) add_test(bntest bntest) @@ -163,6 +164,7 @@ endif() # exptest add_executable(exptest exptest.c) +set_source_files_properties(exptest.c PROPERTIES COMPILE_FLAGS -ULIBRESSL_INTERNAL) target_link_libraries(exptest ${TESTS_LIBS}) add_test(exptest exptest) diff --git a/tests/Makefile.am b/tests/Makefile.am index c5dd713..2d13fed 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -73,6 +73,7 @@ endif # bntest TESTS += bntest +bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL check_PROGRAMS += bntest bntest_SOURCES = bntest.c @@ -170,6 +171,7 @@ endif # exptest TESTS += exptest check_PROGRAMS += exptest +exptest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL exptest_SOURCES = exptest.c # gcm128test -- cgit v1.2.3-55-g6feb