Skip to content

Commit 3d4a313

Browse files
committed
Merge branch 'testing-set-timeouts'
2 parents cc63d4d + 52c81dd commit 3d4a313

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ target_link_libraries(dspdfviewer libdspdfviewer)
7272
### ... and link it with the tests to produce a testing executable.
7373
if(BuildTests)
7474
# Run unit tests regardless of debug/release
75+
# Set a default timeout to 60 seconds
76+
set(DART_TESTING_TIMEOUT 60)
77+
set(CTEST_TEST_TIMEOUT 60)
7578
include(CTest)
7679
add_subdirectory(testing)
7780
endif()

_travis/test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ if [ "$TRAVIS_OS_NAME" = "linux" ] ; then
99
else
1010
ctest --output-on-failure --timeout 60
1111
fi
12-
13-
# print coverage report, ignore errors
14-
ctest -T coverage || true

testing/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ if(UseQtFive)
136136
)
137137
set_tests_properties(testswapscreen
138138
PROPERTIES
139-
TIMEOUT 60
140139
SKIP_RETURN_CODE 77
141140
)
142141
endif()

0 commit comments

Comments
 (0)