Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 8723269377104f6ad7c452b48f81074b > files > 1

lsyncd-2.3.1-2.mga9.src.rpm

diff -Nrup a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2022-11-17 02:22:35.000000000 +0100
+++ b/CMakeLists.txt	2022-11-22 12:24:18.421970582 +0100
@@ -103,15 +103,12 @@ add_custom_target( docs-html
 	DEPENDS ${CMAKE_SOURCE_DIR}/docs
 )
 
-add_custom_command(
-    OUTPUT tests
-    COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/tests tests)
-
+# create_symlink( ${CMAKE_SOURCE_DIR}/tests tests)
 ADD_CUSTOM_TARGET(prepare_tests ALL
-				  DEPENDS tests/
+	COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/tests tests
 )
 
-add_custom_target( run-tests
+add_custom_target( tests
 	COMMAND echo "Running the tests"
 	COMMAND echo "Note you are expected to:"
 	COMMAND echo "  * have lua-posix installed"
diff -Nrup a/tests/ci-run.sh b/tests/ci-run.sh
--- a/tests/ci-run.sh	2022-11-17 02:22:35.000000000 +0100
+++ b/tests/ci-run.sh	2022-11-22 12:23:51.961793199 +0100
@@ -17,5 +17,5 @@ echo "Build folder: $BUILD_FOLDER"
 cd $BUILD_FOLDER
 cmake $SRC
 make VERBOSE=1
-make run-tests
-rm -rf $BUILD_FOLDER
\ No newline at end of file
+make tests
+rm -rf $BUILD_FOLDER