diff options
author | Zach van Rijn <me@zv.io> | 2023-05-04 09:57:57 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-05-04 09:57:57 -0500 |
commit | f9ba261c26e2bb56d28654a4fdf6180c6eb218df (patch) | |
tree | dd0ac975149ab2be0ac07ad49af3224662aeadf8 /legacy/mistserver/fix-cmake-test-format.patch | |
parent | e61495d789e6dfbbef272095a63a026cf98e15e0 (diff) | |
download | packages-f9ba261c26e2bb56d28654a4fdf6180c6eb218df.tar.gz packages-f9ba261c26e2bb56d28654a4fdf6180c6eb218df.tar.bz2 packages-f9ba261c26e2bb56d28654a4fdf6180c6eb218df.tar.xz packages-f9ba261c26e2bb56d28654a4fdf6180c6eb218df.zip |
{user => legacy}/mistserver: 32-bit headache. see #1008.
Diffstat (limited to 'legacy/mistserver/fix-cmake-test-format.patch')
-rw-r--r-- | legacy/mistserver/fix-cmake-test-format.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/legacy/mistserver/fix-cmake-test-format.patch b/legacy/mistserver/fix-cmake-test-format.patch new file mode 100644 index 000000000..07161a2c5 --- /dev/null +++ b/legacy/mistserver/fix-cmake-test-format.patch @@ -0,0 +1,37 @@ +I don't know if this is correct. + +https://gitlab.kitware.com/cmake/cmake/-/issues/19109 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -931,24 +931,24 @@ + ######################################## + add_executable(urltest test/url.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(urltest mist) +-add_test(URLTest COMMAND urltest) ++add_test(NAME URLTest COMMAND urltest) + add_executable(logtest test/log.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(logtest mist) +-add_test(LOGTest COMMAND logtest) ++add_test(NAME LOGTest COMMAND logtest) + add_executable(downloadertest test/downloader.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(downloadertest mist) +-add_test(DownloaderTest COMMAND downloadertest) ++add_test(NAME DownloaderTest COMMAND downloadertest) + add_executable(urireadertest test/urireader.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(urireadertest mist) +-add_test(URIReaderTest COMMAND urireadertest) ++add_test(NAME URIReaderTest COMMAND urireadertest) + add_executable(jsontest test/json.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(jsontest mist) +-add_test(JSONTest COMMAND jsontest) ++add_test(NAME JSONTest COMMAND jsontest) + add_executable(resolvetest test/resolve.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(resolvetest mist) + add_executable(bitwritertest test/bitwriter.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(bitwritertest mist) +-add_test(BitWriterTest COMMAND bitwritertest) ++add_test(NAME BitWriterTest COMMAND bitwritertest) + add_executable(streamstatustest test/status.cpp ${BINARY_DIR}/mist/.headers) + target_link_libraries(streamstatustest mist) + add_executable(websockettest test/websocket.cpp ${BINARY_DIR}/mist/.headers) |