We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb748c7 commit 642084cCopy full SHA for 642084c
tests/CMakeLists.txt
@@ -31,3 +31,5 @@ foreach(file ${test_files})
31
set_property(TEST ${test_name} PROPERTY WILL_FAIL TRUE)
32
33
endforeach()
34
+
35
+set(CMAKE_CTEST_ARGUMENTS "--build-and-test;${CMAKE_SOURCE_DIR};${CMAKE_BINARY_DIR};--build-generator;${CMAKE_GENERATOR};--test-command ctest")
tests/test_large_function.cpp
@@ -8,14 +8,9 @@ struct doubles
8
9
int main()
10
{
11
- std::function<void()> fn;
12
-
13
- {
14
- realtime_context rc;
15
- doubles d;
16
- std::function<void()> fn = [d] { };
17
18
- }
+ realtime_context rc;
+ doubles d;
+ std::function<void()> fn = [d] { };
19
20
return 0;
21
}
0 commit comments