Skip to content

Commit

Permalink
Change timeout of tests from 5400 to 7200.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Sep 27, 2023
1 parent 8bda05b commit 3bf25cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if(OPTION_TEST_MEMORYCHECK AND NOT (OPTION_BUILD_ADDRESS_SANITIZER OR OPTION_BUI
--label-exclude MEMCHECK_IGNORE
--force-new-ctest-process
--test-action memcheck
--timeout 5400
--timeout 7200
COMMAND ${CMAKE_COMMAND} -E cat "${CMAKE_BINARY_DIR}/Testing/Temporary/MemoryChecker.*.log"
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion tools/metacall-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Sub-Build {
# Tests (coverage needs to run the tests)
if (($BUILD_TESTS -eq 1) -or ($BUILD_BENCHMARKS -eq 1) -or ($BUILD_COVERAGE -eq 1)) {
echo "Running the tests..."
ctest "-j$((Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors)" --timeout 5400 --output-on-failure -C $BUILD_TYPE
ctest "-j$((Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors)" --timeout 7200 --output-on-failure -C $BUILD_TYPE

if (-not $?) {
$RecentExitCode = $LASTEXITCODE
Expand Down
2 changes: 1 addition & 1 deletion tools/metacall-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ sub_build() {

# Tests (coverage needs to run the tests)
if [ $BUILD_TESTS = 1 ] || [ $BUILD_BENCHMARKS=1 ] || [ $BUILD_COVERAGE = 1 ]; then
ctest -j$(getconf _NPROCESSORS_ONLN) --timeout 5400 --output-on-failure --test-output-size-failed 3221000000 -C $BUILD_TYPE
ctest -j$(getconf _NPROCESSORS_ONLN) --timeout 7200 --output-on-failure --test-output-size-failed 3221000000 -C $BUILD_TYPE
fi

# Coverage
Expand Down

0 comments on commit 3bf25cb

Please sign in to comment.