Update paths in check tools (#1772)
In #1761, not all unit test paths have been updated in check tools. This triggers no errors as `check-vera` emits a warning only while `check-cppcheck` signals nothing. Still, this means that some of the code in the repository that has been quality-assured, is now avoiding checks. This patch fixes this. Moreover, `check-cppcheck` has had incorrect paths for a while: it looked for source files in the root of the repository, but those files have been in `jerry-main` for almost a year now. This patch fixes this, too. Fallout of the above: `main-unix-minimal.c` had to be improved to make `check-cppcheck` pass. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -41,4 +41,4 @@ cppcheck -j$CPPCHECK_JOBS --force \
|
||||
--exitcode-suppressions=tools/cppcheck/suppressions-list \
|
||||
--suppressions-list=tools/cppcheck/suppressions-list \
|
||||
"${INCLUDE_DIRS[@]}" \
|
||||
jerry-core targets/default jerry-libc jerry-libm *.c *h tests/unit
|
||||
jerry-core targets/default jerry-libc jerry-libm jerry-main tests/unit-*
|
||||
|
||||
Reference in New Issue
Block a user