From c18a8e5768fe94a085f5a3b4280c7a7596e7b7d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 14 Sep 2020 11:32:33 +0200 Subject: [PATCH] :wrench Use asan --- .github/workflows/linux.yml | 3 +-- scripts/test.sh | 10 +--------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 07ee9c86..25c37960 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -25,5 +25,4 @@ jobs: env: CC: ${{ matrix.cc }} USE_DOUBLE: ${{ matrix.double }} - USE_DEBUG: 0 - CFLAGS: -g + USE_DEBUG: 1 diff --git a/scripts/test.sh b/scripts/test.sh index e0239f8c..8aa5798b 100644 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -398,15 +398,7 @@ clean() { if [ -f test.log ] && [ -z "$NO_LOG" ] then -# cat test.log -# assuming CI for now - sudo apt-get update -y - sudo apt-get install -y valgrind - for file in $(cat test.log) - do - cat $file - valgrind ./gwion $file - done + cat test.log exit 1 else exit 0 -- 2.43.0