Skip to content

Commit

Permalink
Increase test timeout
Browse files Browse the repository at this point in the history
Due to some of the builds happening on an emulator, executing tests can
take longer than 5 minutes (the default timeout) per test case.
  • Loading branch information
Krzmbrzl committed Jan 8, 2025
1 parent 64bd352 commit 2d1fcea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ cmake \

cmake --build . -j $(nproc)

ctest --output-on-failure . -j $(nproc)
TEST_TIMEOUT=600 # seconds
export QTEST_FUNCTION_TIMEOUT="$(( $TEST_TIMEOUT * 1000 ))" # milliseconds
ctest --timeout $TIMEOUT --output-on-failure . -j $(nproc)

0 comments on commit 2d1fcea

Please sign in to comment.