File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ run_matrix_for_current_compiler() {
112112 # Build some tests with sanitizers
113113 if [[ ${build_sanitizers} -ne 0 ]]; then
114114 run_single --compiler " ${compiler} " --build-dir build-asan --sanitizer asan --targets test_connection test_crypto --run-tests
115+ run_single --compiler " ${compiler} " --build-dir build-asan --sanitizer asan \
116+ --run-tests --tests test_connection:soak \
117+ --phase test
115118 run_single --compiler " ${compiler} " --build-dir build-ubsan --sanitizer ubsan --targets test_connection test_crypto --run-tests
116119 if [[ ${CXX} == * clang* ]]; then
117120 run_single --compiler " ${compiler} " --build-dir build-tsan --sanitizer tsan --targets test_connection test_crypto --run-tests
@@ -133,6 +136,9 @@ run_matrix_for_current_compiler() {
133136
134137 # Build debug build
135138 run_single --compiler " ${compiler} " --build-dir build-cmake-debug --build-type Debug --run-tests
139+ run_single --compiler " ${compiler} " --build-dir build-cmake-debug --build-type Debug \
140+ --run-tests --tests test_connection:soak \
141+ --phase test
136142
137143 # Build binaries with LTO. Optional, some compilers don't support LTO.
138144 if ! run_single --compiler " ${compiler} " --build-dir build-cmake-lto --build-type Release --lto --run-tests; then
Original file line number Diff line number Diff line change @@ -163,6 +163,17 @@ jobs:
163163
164164 python3 .github/run-single-config.py "${args[@]}"
165165
166+ - name : Test debug soak
167+ if : matrix.row == 'clang-openssl-baseline'
168+ run : |
169+ set -euo pipefail
170+ python3 .github/run-single-config.py \
171+ --compiler "${{ matrix.compiler }}" \
172+ --build-dir "build-debug" \
173+ --phase test \
174+ --run-tests \
175+ --tests test_connection:soak test_p2p.py:--spewlevel=debug:--loglevel-p2prendezvous=debug
176+
166177 # Don't do it this way. This causes the main badge to
167178 # go red if one of the flavors fails.
168179 # # Trigger testing of more linux flavors
@@ -291,3 +302,13 @@ jobs:
291302 working-directory : ' ${{ github.workspace }}/build-debug'
292303 run : ninja
293304 shell : cmd
305+
306+ - name : Test debug soak (connection)
307+ working-directory : ' ${{ github.workspace }}/build-debug/bin'
308+ run : test_connection.exe soak
309+ shell : cmd
310+
311+ - name : Test debug soak (p2p)
312+ working-directory : ' ${{ github.workspace }}/build-debug/bin'
313+ run : py -3 test_p2p.py --spewlevel=debug --loglevel-p2prendezvous=debug
314+ shell : cmd
Original file line number Diff line number Diff line change 8989
9090 - name : Build (Debug)
9191 run : cmake --build ${{github.workspace}}/build-debug --config Debug
92+
93+ - name : Test debug soak (connection)
94+ working-directory : ${{github.workspace}}/build-debug/bin
95+ run : ./test_connection soak
96+ shell : bash
97+
98+ - name : Test debug soak (p2p)
99+ working-directory : ${{github.workspace}}/build-debug/bin
100+ run : python3 test_p2p.py --spewlevel=debug --loglevel-p2prendezvous=debug
101+ shell : bash
You can’t perform that action at this time.
0 commit comments