Compile test also programs tests dir.

This commit is contained in:
Milan Broz
2022-04-27 15:35:12 +02:00
parent 2d8cdb2e35
commit ae3ce2a207
2 changed files with 6 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ test-clang-compilation:
- export CFLAGS="-Wall -Werror"
- ./configure
- make -j
- make -j check-programs
test-clang-Wall-script:
extends:
@@ -14,6 +15,7 @@ test-clang-Wall-script:
- export CC=".gitlab/ci/clang-Wall"
- ./configure
- make -j CFLAGS="-g -O0 -Werror"
- make -j CFLAGS="-g -O0 -Werror" check-programs
test-scan-build:
extends:
@@ -22,3 +24,4 @@ test-scan-build:
- scan-build${COMPILER_VERSION:+-$COMPILER_VERSION} -V ./configure CFLAGS="-g -O0"
- make clean
- scan-build${COMPILER_VERSION:+-$COMPILER_VERSION} --status-bugs -maxloop 10 make -j
- scan-build${COMPILER_VERSION:+-$COMPILER_VERSION} --status-bugs -maxloop 10 make -j check-programs

View File

@@ -5,6 +5,7 @@ test-gcc-compilation:
- export CFLAGS="-Wall -Werror"
- ./configure
- make -j
- make -j check-programs
test-gcc-Wall-script:
extends:
@@ -14,6 +15,7 @@ test-gcc-Wall-script:
- export CC=".gitlab/ci/gcc-Wall"
- ./configure
- make -j CFLAGS="-g -O0 -Werror"
- make -j CFLAGS="-g -O0 -Werror" check-programs
test-gcc-fanalyzer:
extends:
@@ -22,3 +24,4 @@ test-gcc-fanalyzer:
- export CFLAGS="-Wall -Werror -g -O0 -fanalyzer -fdiagnostics-path-format=separate-events"
- ./configure
- make -j
- make -j check-programs