CI; extract tests and perform syntax check
This commit is contained in:
parent
c29997b117
commit
5b3227db8d
|
@ -107,3 +107,13 @@ jobs:
|
|||
run: |
|
||||
make -j$(nproc) run-dmake
|
||||
git diff --exit-code
|
||||
|
||||
- name: extract tests and check syntax
|
||||
run: |
|
||||
mkdir temp1
|
||||
python3 tools/extracttests.py --only-tp --code=temp1 test/testbufferoverrun.cpp
|
||||
python3 tools/extracttests.py --only-tp --code=temp1 test/testnullpointer.cpp
|
||||
python3 tools/extracttests.py --only-tp --code=temp1 test/testuninitvar.cpp
|
||||
python3 tools/extracttests.py --only-tp --code=temp1 --check-function=functionVariableUsage test/testunusedvar.cpp
|
||||
g++ -fsyntax-only temp1/*.cpp
|
||||
|
||||
|
|
Loading…
Reference in New Issue