Skip to content

Commit 642084c

Browse files
committed
Initial CI
1 parent cb748c7 commit 642084c

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ foreach(file ${test_files})
3131
set_property(TEST ${test_name} PROPERTY WILL_FAIL TRUE)
3232

3333
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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,9 @@ struct doubles
88

99
int main()
1010
{
11-
std::function<void()> fn;
12-
13-
{
14-
realtime_context rc;
15-
doubles d;
16-
std::function<void()> fn = [d] { };
17-
18-
}
11+
realtime_context rc;
12+
doubles d;
13+
std::function<void()> fn = [d] { };
1914

2015
return 0;
2116
}

0 commit comments

Comments
 (0)