diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | tests/Makefile.am | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 005f651..e1e4a9c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -2,6 +2,7 @@ add_definitions(-DLIBRESSL_CRYPTO_INTERNAL) | |||
| 2 | 2 | ||
| 3 | include_directories( | 3 | include_directories( |
| 4 | . | 4 | . |
| 5 | ../crypto/ | ||
| 5 | ../crypto/asn1 | 6 | ../crypto/asn1 |
| 6 | ../crypto/bio | 7 | ../crypto/bio |
| 7 | ../crypto/bn | 8 | ../crypto/bn |
| @@ -293,6 +294,11 @@ add_executable(constraints constraints.c) | |||
| 293 | target_link_libraries(constraints ${OPENSSL_TEST_LIBS}) | 294 | target_link_libraries(constraints ${OPENSSL_TEST_LIBS}) |
| 294 | add_test(constraints constraints) | 295 | add_test(constraints constraints) |
| 295 | 296 | ||
| 297 | # crypto_test | ||
| 298 | add_executable(crypto_test crypto_test.c) | ||
| 299 | target_link_libraries(crypto_test ${OPENSSL_TEST_LIBS}) | ||
| 300 | add_test(crypto_test crypto_test) | ||
| 301 | |||
| 296 | # cttest | 302 | # cttest |
| 297 | add_executable(cttest cttest.c) | 303 | add_executable(cttest cttest.c) |
| 298 | target_link_libraries(cttest ${OPENSSL_TEST_LIBS}) | 304 | target_link_libraries(cttest ${OPENSSL_TEST_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 3aa7489..2f14f8f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -6,6 +6,7 @@ include $(top_srcdir)/Makefile.am.common | |||
| 6 | 6 | ||
| 7 | AM_CPPFLAGS += -DLIBRESSL_CRYPTO_INTERNAL | 7 | AM_CPPFLAGS += -DLIBRESSL_CRYPTO_INTERNAL |
| 8 | 8 | ||
| 9 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/ | ||
| 9 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 | 10 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 |
| 10 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/bio | 11 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/bio |
| 11 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/bn | 12 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/bn |
| @@ -308,6 +309,11 @@ TESTS += constraints | |||
| 308 | check_PROGRAMS += constraints | 309 | check_PROGRAMS += constraints |
| 309 | constraints_SOURCES = constraints.c | 310 | constraints_SOURCES = constraints.c |
| 310 | 311 | ||
| 312 | # crypto_test | ||
| 313 | TESTS += crypto_test | ||
| 314 | check_PROGRAMS += crypto_test | ||
| 315 | crypto_test_SOURCES = crypto_test.c | ||
| 316 | |||
| 311 | # cttest | 317 | # cttest |
| 312 | TESTS += cttest | 318 | TESTS += cttest |
| 313 | check_PROGRAMS += cttest | 319 | check_PROGRAMS += cttest |
