diff options
| author | Theo Buehler <tb@openbsd.org> | 2023-06-24 04:51:01 -0600 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2023-06-24 04:51:01 -0600 |
| commit | 2a9096debe7b1592ad51b67ca5bf71413a927dfc (patch) | |
| tree | a446ed44285bce14d27f17cf19fad731cb7b9a24 /tests | |
| parent | 3e7f4d0aba5c08e4e938b6e9b77aeea2b83364d3 (diff) | |
| download | portable-2a9096debe7b1592ad51b67ca5bf71413a927dfc.tar.gz portable-2a9096debe7b1592ad51b67ca5bf71413a927dfc.tar.bz2 portable-2a9096debe7b1592ad51b67ca5bf71413a927dfc.zip | |
Add bn_convert test to build
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | tests/Makefile.am | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c4038e5..96981ba 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -153,6 +153,11 @@ add_executable(bn_cmp bn_cmp.c) | |||
| 153 | target_link_libraries(bn_cmp ${OPENSSL_TEST_LIBS}) | 153 | target_link_libraries(bn_cmp ${OPENSSL_TEST_LIBS}) |
| 154 | add_test(bn_cmp bn_cmp) | 154 | add_test(bn_cmp bn_cmp) |
| 155 | 155 | ||
| 156 | # bn_convert | ||
| 157 | add_executable(bn_convert bn_convert.c) | ||
| 158 | target_link_libraries(bn_convert ${OPENSSL_TEST_LIBS}) | ||
| 159 | add_test(bn_convert bn_convert) | ||
| 160 | |||
| 156 | # bn_gcd | 161 | # bn_gcd |
| 157 | add_executable(bn_gcd bn_cmp.c) | 162 | add_executable(bn_gcd bn_cmp.c) |
| 158 | target_link_libraries(bn_gcd ${OPENSSL_TEST_LIBS}) | 163 | target_link_libraries(bn_gcd ${OPENSSL_TEST_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index a1e312d..3e605cf 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -170,6 +170,11 @@ TESTS += bn_cmp | |||
| 170 | check_PROGRAMS += bn_cmp | 170 | check_PROGRAMS += bn_cmp |
| 171 | bn_cmp_SOURCES = bn_cmp.c | 171 | bn_cmp_SOURCES = bn_cmp.c |
| 172 | 172 | ||
| 173 | # bn_convert | ||
| 174 | TESTS += bn_convert | ||
| 175 | check_PROGRAMS += bn_convert | ||
| 176 | bn_convert_SOURCES = bn_convert.c | ||
| 177 | |||
| 173 | # bn_gcd | 178 | # bn_gcd |
| 174 | TESTS += bn_gcd | 179 | TESTS += bn_gcd |
| 175 | check_PROGRAMS += bn_gcd | 180 | check_PROGRAMS += bn_gcd |
