Revision: 75564
          http://sourceforge.net/p/brlcad/code/75564
Author:   starseeker
Date:     2020-04-23 02:32:31 +0000 (Thu, 23 Apr 2020)
Log Message:
-----------
Add a configure-time option to run the regression tests in series.

Modified Paths:
--------------
    brlcad/trunk/regress/CMakeLists.txt

Modified: brlcad/trunk/regress/CMakeLists.txt
===================================================================
--- brlcad/trunk/regress/CMakeLists.txt 2020-04-23 01:50:28 UTC (rev 75563)
+++ brlcad/trunk/regress/CMakeLists.txt 2020-04-23 02:32:31 UTC (rev 75564)
@@ -21,12 +21,11 @@
 # via a macro argument, this should collect all regression targets.
 include(ProcessorCount)
 ProcessorCount(N)
-if(NOT N EQUAL 0)
+if(NOT N EQUAL 0 AND NOT BRLCAD_SERIAL_TESTING)
   set(JFLAG "-j${N}")
-else(NOT N EQUAL 0)
-  # Huh?  No j flag if we can't get a processor count
+else()
   set(JFLAG)
-endif(NOT N EQUAL 0)
+endif()
 add_custom_target(regress COMMAND ${CMAKE_CTEST_COMMAND} -L Regression 
--output-on-failure --output-log "${CMAKE_BINARY_DIR}/regress_output.log" 
${JFLAG})
 set_target_properties(regress PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1)
 set_target_properties(regress PROPERTIES FOLDER "BRL-CAD Regression Tests")

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

Reply via email to