Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All tests tail because of path mismatch #288

Open
yurivict opened this issue Dec 3, 2022 · 0 comments
Open

All tests tail because of path mismatch #288

yurivict opened this issue Dec 3, 2022 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Dec 3, 2022

tests/CMake/SiloMakeCheckRunner.cmake attempts to run test executables just by their name, but the current directory isn't in the path.

This patch solves this problem:

--- tests/CMake/SiloMakeCheckRunner.cmake.orig  2022-12-03 06:53:38 UTC
+++ tests/CMake/SiloMakeCheckRunner.cmake
@@ -72,7 +72,7 @@ function(silo_add_make_check_runner)
         message(WARNING "silo_add_make_check_runner: NAME argument is required.")
         return()
     endif()
-    set(test_cmd ${samcr_NAME})
+    set(test_cmd "./${samcr_NAME}")
     if("ARGS" IN_LIST samcr_KEYWORDS_MISSING_VALUES)
         message(WARNING "silo_add_make_check_runner: ARGS argument provided without a value.")
         return()

Did you only test the testsuite on Windows?

FreeBSD 13.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant