[packages/kf5-extra-cmake-modules] - cd build (no idea how to run ctest without chdir)

witekfl witekfl at pld-linux.org
Fri Aug 18 12:24:02 CEST 2023


commit b4c82a7342ea704acaa821636faa0a63af40ded1
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Aug 18 11:20:46 2023 +0200

    - cd build (no idea how to run ctest without chdir)

 kf5-extra-cmake-modules.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/kf5-extra-cmake-modules.spec b/kf5-extra-cmake-modules.spec
index 12825b1..ef6a3ec 100644
--- a/kf5-extra-cmake-modules.spec
+++ b/kf5-extra-cmake-modules.spec
@@ -93,7 +93,8 @@ Dokumentacja API dla %{orgname}.
 %if %{with tests}
 # GenerateSipBindings wants clang and has libclang checks incompatible with libclang >= 4
 # ECMPoQmToolsTest fails to build it's own moc file
-ctest --build-run-dir build -E '(GenerateSipBindings|ECMPoQmToolsTest)' --output-on-failure
+cd build
+ctest -E '(GenerateSipBindings|ECMPoQmToolsTest)' --output-on-failure
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-extra-cmake-modules.git/commitdiff/b4c82a7342ea704acaa821636faa0a63af40ded1



More information about the pld-cvs-commit mailing list