]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Travis: use stem backtrace signals with timelimit
authorteor <teor@torproject.org>
Wed, 10 Apr 2019 11:15:04 +0000 (21:15 +1000)
committerteor <teor@torproject.org>
Thu, 11 Apr 2019 01:59:30 +0000 (11:59 +1000)
Part of 30117.

.travis.yml

index 45da263246fb01e7405ed38d92ff23192de89cb0..144cfe0bd96dd7bb392c9998c02d14244e7b52cd 100644 (file)
@@ -211,7 +211,7 @@ script:
   ## We run `make check` because that's what https://jenkins.torproject.org does.
   - if [[ "$DISTCHECK" == "" && "$TEST_STEM" == "" ]]; then make check; fi
   ## Diagnostic for bug 29437: kill stem if it hangs for 15 minutes
-  - if [[ "$TEST_STEM" != "" ]]; then timelimit -p -t 540 -T 30 make src/app/tor test-stem; fi
+  - if [[ "$TEST_STEM" != "" ]]; then timelimit -p -t 540 -s USR1 -T 30 -S ABRT make src/app/tor test-stem; fi
   - if [[ "$DISTCHECK" != "" && "$TEST_STEM" == "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_FLAGS"; fi
   ## If this build was one that produced coverage, upload it.
   - if [[ "$COVERAGE_OPTIONS" != "" ]]; then coveralls -b . --exclude src/test --exclude src/trunnel --gcov-options '\-p' || echo "Coverage failed"; fi