File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ if(GINKGO_BUILD_TESTS)
143
143
144
144
enable_testing ()
145
145
include (CTest)
146
+ add_custom_target (quick_test "${CMAKE_CTEST_COMMAND} " -R 'core|reference')
146
147
endif ()
147
148
148
149
if (GINKGO_WITH_CLANG_TIDY)
Original file line number Diff line number Diff line change @@ -27,6 +27,17 @@ run the following from the build folder:
27
27
28
28
where ` path/to/test ` is the path returned by ` make test ` .
29
29
30
+ #### Using make quick_test
31
+ After compiling Ginkgo, use the following command inside the build folder to run
32
+ a small subset of tests that should execute quickly:
33
+
34
+ ``` sh
35
+ make quick_test
36
+ ```
37
+
38
+ These tests do not use GPU features except for a few device property queries, so
39
+ they may still fail if Ginkgo was compiled with GPU support, but no such GPU is
40
+ available. The output is equivalent to ` make test ` .
30
41
31
42
#### Using CTest
32
43
The tests can also be ran through CTest from the command line, for example when
You can’t perform that action at this time.
0 commit comments