diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/Makefile.am | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index efe5126..f0df7b0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -4,7 +4,6 @@ include_directories( | |||
4 | ../crypto/asn1 | 4 | ../crypto/asn1 |
5 | ../crypto/x509 | 5 | ../crypto/x509 |
6 | ../ssl | 6 | ../ssl |
7 | ../tls | ||
8 | ../apps/openssl | 7 | ../apps/openssl |
9 | ../apps/openssl/compat | 8 | ../apps/openssl/compat |
10 | ../include/compat | 9 | ../include/compat |
@@ -284,6 +283,7 @@ if(NOT BUILD_SHARED_LIBS) | |||
284 | 283 | ||
285 | add_executable(keypairtest keypairtest.c) | 284 | add_executable(keypairtest keypairtest.c) |
286 | target_link_libraries(keypairtest ${LIBTLS_LIBS}) | 285 | target_link_libraries(keypairtest ${LIBTLS_LIBS}) |
286 | target_include_directories(keypairtest BEFORE PUBLIC ../tls) | ||
287 | add_test(keypairtest keypairtest | 287 | add_test(keypairtest keypairtest |
288 | ${CMAKE_CURRENT_SOURCE_DIR}/ca.pem | 288 | ${CMAKE_CURRENT_SOURCE_DIR}/ca.pem |
289 | ${CMAKE_CURRENT_SOURCE_DIR}/server.pem | 289 | ${CMAKE_CURRENT_SOURCE_DIR}/server.pem |
@@ -595,4 +595,3 @@ if(BUILD_SHARED_LIBS) | |||
595 | "${CMAKE_CURRENT_BINARY_DIR}" | 595 | "${CMAKE_CURRENT_BINARY_DIR}" |
596 | COMMENT "Copying DLLs for regression tests") | 596 | COMMENT "Copying DLLs for regression tests") |
597 | endif() | 597 | endif() |
598 | |||
diff --git a/tests/Makefile.am b/tests/Makefile.am index f43bd85..f1086b3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -4,7 +4,6 @@ AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes | |||
4 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 | 4 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 |
5 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/x509 | 5 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/x509 |
6 | AM_CPPFLAGS += -I $(top_srcdir)/ssl | 6 | AM_CPPFLAGS += -I $(top_srcdir)/ssl |
7 | AM_CPPFLAGS += -I $(top_srcdir)/tls | ||
8 | AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl | 7 | AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl |
9 | AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl/compat | 8 | AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl/compat |
10 | AM_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"$(top_srcdir)/apps/openssl/cert.pem\" | 9 | AM_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"$(top_srcdir)/apps/openssl/cert.pem\" |
@@ -101,7 +100,6 @@ bn_to_string_SOURCES = bn_to_string.c | |||
101 | 100 | ||
102 | # buffertest | 101 | # buffertest |
103 | TESTS += buffertest | 102 | TESTS += buffertest |
104 | buffertest_CPPFLAGS = $(AM_CPPFLAGS) | ||
105 | check_PROGRAMS += buffertest | 103 | check_PROGRAMS += buffertest |
106 | buffertest_SOURCES = buffertest.c | 104 | buffertest_SOURCES = buffertest.c |
107 | 105 | ||
@@ -272,6 +270,7 @@ igetest_SOURCES = igetest.c | |||
272 | 270 | ||
273 | # keypairtest | 271 | # keypairtest |
274 | TESTS += keypairtest.sh | 272 | TESTS += keypairtest.sh |
273 | keypairtest_CPPFLAGS = -I $(top_srcdir)/tls | ||
275 | check_PROGRAMS += keypairtest | 274 | check_PROGRAMS += keypairtest |
276 | keypairtest_SOURCES = keypairtest.c | 275 | keypairtest_SOURCES = keypairtest.c |
277 | EXTRA_DIST += keypairtest.sh | 276 | EXTRA_DIST += keypairtest.sh |