Skip to content

Commit

Permalink
Add log output to fsanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Oct 26, 2023
1 parent 94e354d commit 9116b8d
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/ubuntu-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@ jobs:
- name: wolfmqtt make
run: make
- name: wolfmqtt make check
id: make-check
run: make check
- name: Show logs on failure
if: ${{ failure() && steps.make-check.outcome == 'failure' }}
run: |
more test-suite.log

env:
WOLFMQTT_NO_EXTERNAL_BROKER_TESTS: 1
Expand All @@ -75,44 +70,31 @@ jobs:
- name: wolfmqtt make
run: make
- name: wolfmqtt make check
id: make-check-sn
run: make check
- name: Show logs on failure
if: ${{ failure() && steps.make-check-sn.outcome == 'failure' }}
run: |
more test-suite.log

- name: wolfmqtt configure with Non-Block
run: ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
- name: wolfmqtt make
run: make
- name: wolfmqtt make check
id: make-check-nonblock
run: make check
- name: Show logs on failure
if: ${{ failure() && steps.make-check-nonblock.outcome == 'failure' }}
run: |
more test-suite.log

- name: wolfmqtt configure with Non-Block and Multi-threading
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
- name: wolfmqtt make
run: make
- name: wolfmqtt make check
id: make-check-nonblock-mt
run: make check
- name: Show logs on failure
if: ${{ failure() && steps.make-check-nonblock-mt.outcome == 'failure' }}
run: |
more test-suite.log

- name: configure with Multi-threading and WOLFMQTT_DYN_PROP
run: ./configure --enable-mt CFLAGS="-DWOLFMQTT_DYN_PROP"
- name: make
run: make
- name: make check
id: make-check-mt-dynprop
run: make check

# capture logs on failure
- name: Show logs on failure
if: ${{ failure() && steps.make-check-mt-dynprop.outcome == 'failure' }}
if: failure() || cancelled()
run: |
more test-suite.log
cat test-suite.log

0 comments on commit 9116b8d

Please sign in to comment.