Skip to content
Snippets Groups Projects
Commit 9e50597d authored by Mathieu Courtois's avatar Mathieu Courtois
Browse files

Merge branch 'mc-fix-hook' into 'main'

[#34305] cancel if c4che infos are not provided

See merge request codeaster/devtools!43
parents 6de6b3bf ba6939e9
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,9 @@ def run_ctest_minimal(repopath): ...@@ -134,6 +134,9 @@ def run_ctest_minimal(repopath):
target = "debug" target = "debug"
wafc4che = osp.join(builddir, "c4che", target + "_cache.py") wafc4che = osp.join(builddir, "c4che", target + "_cache.py")
c4che = read_waf_parameters(wafc4che) c4che = read_waf_parameters(wafc4che)
if not c4che:
logger.warning("Can not find installation directory. Cancelled.")
return OK
run_ctest = Path(c4che["BINDIR"]) / "run_ctest" run_ctest = Path(c4che["BINDIR"]) / "run_ctest"
logger.info("NB: This version will be used: %s", run_ctest) logger.info("NB: This version will be used: %s", run_ctest)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment