File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ cat_logs_snippet: &CAT_LOGS
3636 always :
3737 cat_tests_log_script :
3838 - cat tests.log || true
39+ cat_noverify_tests_log_script :
40+ - cat noverify_tests.log || true
3941 cat_exhaustive_tests_log_script :
4042 - cat exhaustive_tests.log || true
4143 cat_valgrind_ctime_test_log_script :
Original file line number Diff line number Diff line change @@ -116,21 +116,26 @@ endif
116116
117117TESTS =
118118if USE_TESTS
119- noinst_PROGRAMS += tests
120- tests_SOURCES = src/tests.c
121- tests_CPPFLAGS = $(SECP_INCLUDES ) $(SECP_TEST_INCLUDES ) $(SECP_CONFIG_DEFINES )
119+ TESTS += noverify_tests
120+ noinst_PROGRAMS += noverify_tests
121+ noverify_tests_SOURCES = src/tests.c
122+ noverify_tests_CPPFLAGS = $(SECP_INCLUDES ) $(SECP_TEST_INCLUDES ) $(SECP_CONFIG_DEFINES )
123+ noverify_tests_LDADD = $(SECP_LIBS ) $(SECP_TEST_LIBS ) $(COMMON_LIB ) $(PRECOMPUTED_LIB )
124+ noverify_tests_LDFLAGS = -static
122125if VALGRIND_ENABLED
123- tests_CPPFLAGS += -DVALGRIND
126+ noverify_tests_CPPFLAGS += -DVALGRIND
124127noinst_PROGRAMS += valgrind_ctime_test
125128valgrind_ctime_test_SOURCES = src/valgrind_ctime_test.c
126129valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS ) $(COMMON_LIB )
127130endif
128131if !ENABLE_COVERAGE
129- tests_CPPFLAGS += -DVERIFY
130- endif
131- tests_LDADD = $(SECP_LIBS ) $(SECP_TEST_LIBS ) $(COMMON_LIB ) $(PRECOMPUTED_LIB )
132- tests_LDFLAGS = -static
133132TESTS += tests
133+ noinst_PROGRAMS += tests
134+ tests_SOURCES = $(noverify_tests_SOURCES )
135+ tests_CPPFLAGS = $(noverify_tests_CPPFLAGS ) -DVERIFY
136+ tests_LDADD = $(noverify_tests_LDADD )
137+ tests_LDFLAGS = $(noverify_tests_LDFLAGS )
138+ endif
134139endif
135140
136141if USE_EXHAUSTIVE_TESTS
You can’t perform that action at this time.
0 commit comments