In CTestCustom.cmake, I use CTEST_CUSTOM_MEMCHECK_IGNORE and
CTEST_CUSTOM_TESTS_IGNORE to turn some long-running tests on and off (on
for nightlies, off for development test cycles).

I recently broke apart a rather large shell script that was used to run a
test under many scenarios into something like

  foreach (a 0 1)
    foreach (b 0 1)
      foreach (c 0 1)
        add_test(NAME big_test_${a}${b}${c} COMMAND big_test ${a} ${b} ${c})
      endforeach (c)
    endforeach (b)
  endforeach (a)

...you get the idea.  It generates somewhere in the realm of 2000 test
cases.  Now they run in parallel, which is great, but I can no longer turn
off this suite of tests easily.

It would be great to do something like

  list(APPEND CTEST_CUSTOM_TESTS_IGNORE 'big_test_.*')

Is this or something like it supported?

I haven't tried it yet so maybe it just works, but I kind of doubt it.
I didn't see anything pop out in the docs but maybe I missed it.

-- 
Cheers,
Leif
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to