Revision: 77728
          http://sourceforge.net/p/brlcad/code/77728
Author:   brlcad
Date:     2020-11-11 06:11:45 +0000 (Wed, 11 Nov 2020)
Log Message:
-----------
looks like the list was extended, but indicies were not.  apparent copy-paste 
mistake.

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-11-11 04:58:38 UTC (rev 77727)
+++ brlcad/trunk/CMakeLists.txt 2020-11-11 06:11:45 UTC (rev 77728)
@@ -450,7 +450,7 @@
       endforeach ()
       add_test(NAME ${test_name} COMMAND ${test_prog} ${ARGV4} ${ARGV5} 
${ARGV6} ${ARGV7} ${ARGV8} "" ${ARGN})
     elseif ("${empty}" EQUAL 10)
-      foreach (i 1 2 3 4 5 6)
+      foreach (i 1 2 3 4 5 6 7)
        if (ARGN)
          list(REMOVE_AT ARGN 0)
        endif (ARGN)
@@ -457,7 +457,7 @@
       endforeach ()
       add_test(NAME ${test_name} COMMAND ${test_prog} ${ARGV4} ${ARGV5} 
${ARGV6} ${ARGV7} ${ARGV8} ${ARGV9} "" ${ARGN})
     elseif ("${empty}" EQUAL 11)
-      foreach (i 1 2 3 4 5 6)
+      foreach (i 1 2 3 4 5 6 7 8)
        if (ARGN)
          list(REMOVE_AT ARGN 0)
        endif (ARGN)
@@ -465,13 +465,13 @@
       add_test(NAME ${test_name} COMMAND ${test_prog} ${ARGV4} ${ARGV5} 
${ARGV6} ${ARGV7} ${ARGV8} ${ARGV9} ${ARGV10} "" ${ARGN})
 
 
-      # ADD_EMPTY_HERE: insert support for addition argv positions
+      # ADD_EMPTY_HERE: insert support for additional argv positions
       # as extra elseif tests here using the preceding pattern.  be
       # sure to update the index in the following else clause fatal
       # error message too.
 
     else ("${empty}" EQUAL 4)
-      message(FATAL_ERROR "ERROR: encountered an empty string passed to 
add_test(${test_name}) as ARGV${empty} > ARGV9.  Expand support in the 
top-level CMakeLists.txt file (grep ADD_EMPTY_HERE).")
+      message(FATAL_ERROR "ERROR: encountered an empty string passed to 
add_test(${test_name}) as ARGV${empty} > ARGV11.  Expand support in the 
top-level CMakeLists.txt file (grep ADD_EMPTY_HERE).")
     endif ("${empty}" EQUAL 4)
 
   else ("${cnt}" GREATER 0)

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