Revision: 77713
http://sourceforge.net/p/brlcad/code/77713
Author: brlcad
Date: 2020-11-08 07:10:40 +0000 (Sun, 08 Nov 2020)
Log Message:
-----------
skip the bigdb test if we can't allocate enough memory.
cmake 3.1 has a feature where a test will be considered skipped if
there's a particular exit code. use this to detect when the bigdb
test is aborting due to not being able to allocate 5x the amount of
requested memory (this is a librt issue).
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-11-08 07:07:39 UTC
(rev 77712)
+++ brlcad/trunk/src/gtools/tests/CMakeLists.txt 2020-11-08 07:10:40 UTC
(rev 77713)
@@ -4,6 +4,9 @@
add_test(NAME slow-bigdb_1gb COMMAND bigdb 1)
add_test(NAME slow-bigdb_5gb COMMAND bigdb 5)
+set_property(TEST slow-bigdb_1gb PROPERTY SKIP_RETURN_CODE 123)
+set_property(TEST slow-bigdb_5gb PROPERTY SKIP_RETURN_CODE 123)
+
CMAKEFILES(CMakeLists.txt)
# Local Variables:
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