diff options
author | Brent Cook <bcook@openbsd.org> | 2017-01-28 09:31:56 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-01-28 09:31:56 -0600 |
commit | 97fecd593a5daf9e17896b6160ed9d328422fbd3 (patch) | |
tree | d413046f7a4bc32d4f84cd2618b645423bc9f838 /tests | |
parent | fb936f89b8cb16d7e8f1fd73a527099616db74fb (diff) | |
parent | 58eb645fdba229c1b214a0ac14f7365df171b62f (diff) | |
download | portable-97fecd593a5daf9e17896b6160ed9d328422fbd3.tar.gz portable-97fecd593a5daf9e17896b6160ed9d328422fbd3.tar.bz2 portable-97fecd593a5daf9e17896b6160ed9d328422fbd3.zip |
Land #269, copy more files from libc rather than checking in
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d7b73b9..91dc99a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -156,7 +156,7 @@ if(NOT CMAKE_HOST_WIN32) | |||
156 | if(HAVE_MEMMEM) | 156 | if(HAVE_MEMMEM) |
157 | add_executable(explicit_bzero explicit_bzero.c) | 157 | add_executable(explicit_bzero explicit_bzero.c) |
158 | else() | 158 | else() |
159 | add_executable(explicit_bzero explicit_bzero.c memmem.c) | 159 | add_executable(explicit_bzero explicit_bzero.c compat/memmem.c) |
160 | endif() | 160 | endif() |
161 | target_link_libraries(explicit_bzero ${TESTS_LIBS}) | 161 | target_link_libraries(explicit_bzero ${TESTS_LIBS}) |
162 | add_test(explicit_bzero explicit_bzero) | 162 | add_test(explicit_bzero explicit_bzero) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index cfa5043..7c61203 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -163,7 +163,7 @@ TESTS += explicit_bzero | |||
163 | check_PROGRAMS += explicit_bzero | 163 | check_PROGRAMS += explicit_bzero |
164 | explicit_bzero_SOURCES = explicit_bzero.c | 164 | explicit_bzero_SOURCES = explicit_bzero.c |
165 | if !HAVE_MEMMEM | 165 | if !HAVE_MEMMEM |
166 | explicit_bzero_SOURCES += memmem.c | 166 | explicit_bzero_SOURCES += compat/memmem.c |
167 | endif | 167 | endif |
168 | endif | 168 | endif |
169 | endif | 169 | endif |