Skip to content

Commit

Permalink
try launch freebsd tests in gdb and print stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Nov 10, 2024
1 parent 7e57328 commit faeb02e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ jobs:
prepare:
PAGER=cat ASSUME_ALWAYS_YES=YES pkg install
cmake
gdb
git
gmake
googletest
Expand All @@ -177,10 +178,25 @@ jobs:
-DMUST_BUILD_TOXAV=ON \
-DNON_HERMETIC_TESTS=ON \
-DTEST_TIMEOUT_SECONDS=50 \
-DCMAKE_TEST_LAUNCHER="gdb;--batch;--return-child-result;-ex;set pagination off;-ex;run;-ex;thread apply all bt;--args" \
-DUSE_IPV6=OFF \
-DAUTOTEST=ON
cmake --build . --target install
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6
#ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
ctest -V -R TCP --repeat until-fail:24
mypy:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions auto_tests/TCP_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,10 +914,15 @@ static void test_tcp_connection2(void)
static void tcp_suite(void)
{
test_basic();
c_sleep(1000);
test_some();
c_sleep(1000);
test_client();
c_sleep(1000);
test_client_invalid();
c_sleep(1000);
test_tcp_connection();
c_sleep(1000);
test_tcp_connection2();
}

Expand Down

0 comments on commit faeb02e

Please sign in to comment.