diff options
| author | Theo Buehler <tb@openbsd.org> | 2026-07-21 13:52:11 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2026-07-21 13:52:11 +0200 |
| commit | b0c9009d1b10b691b4e6c2d35a6326c3fffae8ef (patch) | |
| tree | fdf9b1ea68fefc9d9a991b0098f3b825c9e6e733 | |
| parent | 79db3f0ad3fdb9d06bbf7b1cdc4f0e121455963b (diff) | |
| parent | 0701024d3a9e4873a551a307a14928235047d575 (diff) | |
| download | portable-b0c9009d1b10b691b4e6c2d35a6326c3fffae8ef.tar.gz portable-b0c9009d1b10b691b4e6c2d35a6326c3fffae8ef.tar.bz2 portable-b0c9009d1b10b691b4e6c2d35a6326c3fffae8ef.zip | |
Land #1333 - disable bn_mul_div again
| -rw-r--r-- | tests/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | tests/Makefile.am | 19 |
2 files changed, 18 insertions, 16 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b1a1487..ede7463 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -283,13 +283,14 @@ add_executable(bn_mont bn_mont.c) | |||
| 283 | target_link_libraries(bn_mont ${OPENSSL_TEST_LIBS}) | 283 | target_link_libraries(bn_mont ${OPENSSL_TEST_LIBS}) |
| 284 | add_platform_test(bn_mont bn_mont) | 284 | add_platform_test(bn_mont bn_mont) |
| 285 | 285 | ||
| 286 | # bn_mul_div | 286 | # bn_mul_div is mostly benchmark code with non-standard timing dependencies, |
| 287 | # The benchmark code uses TIMEVAL_TO_TIMESPEC, which is unavailable on Solaris. | 287 | # while the non-benchmark test coverage is not worth the cross-platform fallout. |
| 288 | if(NOT (WIN32 OR EMSCRIPTEN OR SOLARIS)) | 288 | # # bn_mul_div |
| 289 | add_executable(bn_mul_div bn_mul_div.c) | 289 | # if(NOT (WIN32 OR EMSCRIPTEN OR SOLARIS)) |
| 290 | target_link_libraries(bn_mul_div ${OPENSSL_TEST_LIBS}) | 290 | # add_executable(bn_mul_div bn_mul_div.c) |
| 291 | add_platform_test(bn_mul_div bn_mul_div) | 291 | # target_link_libraries(bn_mul_div ${OPENSSL_TEST_LIBS}) |
| 292 | endif() | 292 | # add_platform_test(bn_mul_div bn_mul_div) |
| 293 | # endif() | ||
| 293 | 294 | ||
| 294 | # bn_primes | 295 | # bn_primes |
| 295 | add_executable(bn_primes bn_primes.c) | 296 | add_executable(bn_primes bn_primes.c) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index d0b3adf..9b58724 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -307,15 +307,16 @@ TESTS += bn_mont | |||
| 307 | check_PROGRAMS += bn_mont | 307 | check_PROGRAMS += bn_mont |
| 308 | bn_mont_SOURCES = bn_mont.c | 308 | bn_mont_SOURCES = bn_mont.c |
| 309 | 309 | ||
| 310 | # bn_mul_div | 310 | # bn_mul_div is mostly benchmark code with non-standard timing dependencies, |
| 311 | # The benchmark code uses TIMEVAL_TO_TIMESPEC, which is unavailable on Solaris. | 311 | # while the non-benchmark test coverage is not worth the cross-platform fallout. |
| 312 | if !HOST_WIN | 312 | ## bn_mul_div |
| 313 | if !HOST_SOLARIS | 313 | #if !HOST_WIN |
| 314 | TESTS += bn_mul_div | 314 | #if !HOST_SOLARIS |
| 315 | check_PROGRAMS += bn_mul_div | 315 | #TESTS += bn_mul_div |
| 316 | bn_mul_div_SOURCES = bn_mul_div.c | 316 | #check_PROGRAMS += bn_mul_div |
| 317 | endif | 317 | #bn_mul_div_SOURCES = bn_mul_div.c |
| 318 | endif | 318 | #endif |
| 319 | #endif | ||
| 319 | 320 | ||
| 320 | # bn_primes | 321 | # bn_primes |
| 321 | TESTS += bn_primes | 322 | TESTS += bn_primes |
