Revision: 77523
http://sourceforge.net/p/brlcad/code/77523
Author: starseeker
Date: 2020-10-21 22:12:17 +0000 (Wed, 21 Oct 2020)
Log Message:
-----------
With the shift to plugins for ged commands, any test executables using them
will need to be located in the bin dir, just like those tests that need files
from the data dir, and for the same reason - we need bu_dir path lookups to
work reliably, and for that we need to be able to decode the executable path to
a correct relative location. Sean noticed the bigdb_1gb test was failing when
run with ctest but succeeded when run from the build dir. Observing in
debugger, bu_dir was succeeding when program was run in isolation from a
working dir of the top level build dir, but failing when ctest did the
launching.
Modified Paths:
--------------
brlcad/trunk/src/gtools/tests/CMakeLists.txt
Modified: brlcad/trunk/src/gtools/tests/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/gtools/tests/CMakeLists.txt 2020-10-21 00:08:05 UTC
(rev 77522)
+++ brlcad/trunk/src/gtools/tests/CMakeLists.txt 2020-10-21 22:12:17 UTC
(rev 77523)
@@ -1,5 +1,5 @@
-BRLCAD_ADDEXEC(bigdb bigdb.c "libged;libwdb;librt;libbu" TEST)
+BRLCAD_ADDEXEC(bigdb bigdb.c "libged;libwdb;librt;libbu" TEST_USESDATA)
add_test(NAME slow-bigdb_1gb COMMAND bigdb 1)
add_test(NAME slow-bigdb_5gb COMMAND bigdb 5)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits