diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-01-28 03:40:38 +0900 |
|---|---|---|
| committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-01-28 03:40:38 +0900 |
| commit | 58eb645fdba229c1b214a0ac14f7365df171b62f (patch) | |
| tree | 062683488b56d8a9f62a2d5772aff39edebb4268 /tests | |
| parent | cb57534af8ce4cacd69a3edcd42bb8a6bcd0b40b (diff) | |
| download | portable-58eb645fdba229c1b214a0ac14f7365df171b62f.tar.gz portable-58eb645fdba229c1b214a0ac14f7365df171b62f.tar.bz2 portable-58eb645fdba229c1b214a0ac14f7365df171b62f.zip | |
Copy libc compat files rather than adding into the repository
- remove the CP_LIBC files from repo
- move tests/memmem.c to tests/compat/
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 |
