running workflow file tests in gdb
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 2m31s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 2m23s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 3m24s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 3m30s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 4m12s

This commit is contained in:
Václav Šmejkal 2025-01-09 15:42:14 +01:00
parent 4244d2687e
commit d58374232a
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
3 changed files with 8 additions and 5 deletions

View File

@ -33,6 +33,7 @@ jobs:
include:
- os: ubuntu-latest
output: ./out/why2-core-test
gdb: gdb -ex "run" -ex "quit" --batch
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
configure: ./configure.sh
app: why2
@ -68,10 +69,10 @@ jobs:
run: make test_core
- name: Test Lib
run: ./${{ matrix.output }}
run: ${{ matrix.gdb }} ${{ matrix.output }}
- name: Test App
run: ${{ matrix.app }}
run: ${{ matrix.gdb }} ${{ matrix.app }}
- name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }}

View File

@ -33,6 +33,7 @@ jobs:
include:
- os: ubuntu-latest
output: ./out/why2-logger-test
gdb: gdb -ex "run" -ex "quit" --batch
configure: ./configure.sh
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
app: why2-logger
@ -68,10 +69,10 @@ jobs:
run: make test_logger
- name: Test Lib
run: ./${{ matrix.output }}
run: ${{ matrix.gdb }} ${{ matrix.output }}
- name: Test App
run: ${{ matrix.app }}
run: ${{ matrix.gdb }} ${{ matrix.app }}
- name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }}

View File

@ -30,6 +30,7 @@ jobs:
os: [ ubuntu-latest ]
include:
- os: ubuntu-latest
gdb: gdb -ex "run" -ex "quit" --batch
configure: ./configure.sh
test: ./test
@ -65,4 +66,4 @@ jobs:
run: cc ${{ matrix.test }}.c -lwhy2 -Wall -o ${{ matrix.test }}
- name: Run test
run: ./${{ matrix.test }}
run: ${{ matrix.gdb }} ./${{ matrix.test }}