diff options
| author | Brent Cook <busterb@gmail.com> | 2020-05-01 03:58:43 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2020-05-01 03:58:43 -0500 |
| commit | af8529257557b3b9d23c47c1e4a6203c44bcfaeb (patch) | |
| tree | d10a39665e01c95bcddeefb8f39634604094219e | |
| parent | e34586db1981a9183ff9164a23da37b3f59634f0 (diff) | |
| parent | ea57e53c63484a12556f8845d289353ace5dcb76 (diff) | |
| download | portable-af8529257557b3b9d23c47c1e4a6203c44bcfaeb.tar.gz portable-af8529257557b3b9d23c47c1e4a6203c44bcfaeb.tar.bz2 portable-af8529257557b3b9d23c47c1e4a6203c44bcfaeb.zip | |
Land #583, add regress record_layer_test
| -rw-r--r-- | tests/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | tests/Makefile.am | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7f44862..80b785d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -352,6 +352,13 @@ if(NOT BUILD_SHARED_LIBS) | |||
| 352 | add_test(recordtest recordtest) | 352 | add_test(recordtest recordtest) |
| 353 | endif() | 353 | endif() |
| 354 | 354 | ||
| 355 | # record_layer_test | ||
| 356 | if(NOT BUILD_SHARED_LIBS) | ||
| 357 | add_executable(record_layer_test record_layer_test.c) | ||
| 358 | target_link_libraries(record_layer_test ${OPENSSL_LIBS}) | ||
| 359 | add_test(record_layer_test record_layer_test) | ||
| 360 | endif() | ||
| 361 | |||
| 355 | # rfc5280time | 362 | # rfc5280time |
| 356 | add_executable(rfc5280time rfc5280time.c) | 363 | add_executable(rfc5280time rfc5280time.c) |
| 357 | target_link_libraries(rfc5280time ${OPENSSL_LIBS}) | 364 | target_link_libraries(rfc5280time ${OPENSSL_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8e7a597..7463f26 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -342,6 +342,11 @@ TESTS += recordtest | |||
| 342 | check_PROGRAMS += recordtest | 342 | check_PROGRAMS += recordtest |
| 343 | recordtest_SOURCES = recordtest.c | 343 | recordtest_SOURCES = recordtest.c |
| 344 | 344 | ||
| 345 | # record_layer_test | ||
| 346 | TESTS += record_layer_test | ||
| 347 | check_PROGRAMS += record_layer_test | ||
| 348 | record_layer_test_SOURCES = record_layer_test.c | ||
| 349 | |||
| 345 | # rfc5280time | 350 | # rfc5280time |
| 346 | check_PROGRAMS += rfc5280time | 351 | check_PROGRAMS += rfc5280time |
| 347 | rfc5280time_SOURCES = rfc5280time.c | 352 | rfc5280time_SOURCES = rfc5280time.c |
