Fix script to not exit on test failure
@@ -27,7 +27,8 @@ jobs:
- name: Perform Unit Tests and Check for Leaks
run: |
ulimit -c unlimited -S
- ./picoquic_ct -n -r && QUICRESULT=$? >sanity.txt 2>&1
+ ./picoquic_ct -n -r >sanity.txt 2>&1 && QUICRESULT=$?
+ echo "running picoquic_ct returns $QUICRESULT "
last_line=`grep "SUMMARY: AddressSanitizer:" sanity.txt`
echo $last_line
leaked=`echo $last_line | cut -d ' ' -f 3`
