| 93 | |
| 94 | A list of test suites can be obtained by running ''ctest --show-only'': |
| 95 | |
| 96 | {{{ |
| 97 | $ ctest --show-only |
| 98 | # |
| 99 | # Test project /home/dan/dev/libgeos/cmake-build-debug |
| 100 | # Test #1: test_geos_unit |
| 101 | # Test #2: test_xmltester |
| 102 | # Test #3: test_bug234 |
| 103 | # Test #4: test_sweep_line_speed |
| 104 | # Test #5: perf_class_sizes |
| 105 | # Test #6: perf_iterated_buffer |
| 106 | # Test #7: perf_rectangle_intersects |
| 107 | # Test #8: perf_memleak_mp_prep |
| 108 | }}} |
| 109 | |
| 110 | An subset of test suites can then be run using a regular expression: |
| 111 | |
| 112 | |
| 113 | {{{ |
| 114 | $ ctest --tests-regex test_ --parallel 4 |
| 115 | }}} |
| 116 | |
| 117 | Individual test classes within the ''test_geos_unit'' suite can be run by calling the ''test_geos_unit'' executable directly: |
| 118 | |
| 119 | {{{ |
| 120 | $ bin/test_geos_unit capi::GEOSNode |
| 121 | }}} |
| 122 | |