Revision: 78001
http://sourceforge.net/p/brlcad/code/78001
Author: starseeker
Date: 2020-12-18 17:07:18 +0000 (Fri, 18 Dec 2020)
Log Message:
-----------
Add CTest tests to exercise gqa plotting and check the validity of its output.
As expected based on user report, we have a failure in the multithreaded case.
If I recall correctly, when I looked at this previously it is a regression -
need to get it working before patch release.
Modified Paths:
--------------
brlcad/trunk/src/libged/tests/CMakeLists.txt
brlcad/trunk/src/libged/tests/ged_tests.g
Modified: brlcad/trunk/src/libged/tests/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libged/tests/CMakeLists.txt 2020-12-18 15:38:07 UTC
(rev 78000)
+++ brlcad/trunk/src/libged/tests/CMakeLists.txt 2020-12-18 17:07:18 UTC
(rev 78001)
@@ -6,6 +6,22 @@
BRLCAD_ADDEXEC(ged_test_plugins plugins.cpp libged TEST)
+
+# Test GQA's ability to write out valid plot files, both in single and
+# multithreaded modes.
+
+set(GQA_PFILE "${CMAKE_CURRENT_BINARY_DIR}/ovlp_overlaps.plot3")
+BRLCAD_ADD_TEST(NAME ged_test_gqa_plot COMMAND gqa -P 1 -Ao -p ovlp_
"${CMAKE_CURRENT_SOURCE_DIR}/ged_tests.g" ovlp)
+BRLCAD_ADD_TEST(NAME ged_test_gqa_plot_verify COMMAND bn_plot3 -b
"${GQA_PFILE}")
+set_property(TEST ged_test_gqa_plot_verify PROPERTY DEPENDS ged_test_gqa_plot)
+DISTCLEAN("${GQA_PFILE}")
+
+set(GQA_MULTI_PFILE "${CMAKE_CURRENT_BINARY_DIR}/ovlpmulti_overlaps.plot3")
+BRLCAD_ADD_TEST(NAME ged_test_gqa_plot_multithreaded COMMAND gqa -Ao -p
ovlpmulti_ "${CMAKE_CURRENT_SOURCE_DIR}/ged_tests.g" ovlp)
+BRLCAD_ADD_TEST(NAME ged_test_gqa_plot_verify_multithreaded COMMAND bn_plot3
-b "${GQA_MULTI_PFILE}")
+set_property(TEST ged_test_gqa_plot_verify_multithreaded PROPERTY DEPENDS
ged_test_gqa_plot_multithreaded)
+DISTCLEAN("${GQA_MULTI_PFILE}")
+
# Note: it is particularly important that the lint tests in particular are kept
# in a separate file, since its bad input examples stand an excellent chance of
# breaking commands.
Modified: brlcad/trunk/src/libged/tests/ged_tests.g
===================================================================
(Binary files differ)
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