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:
+1
-1
@@ -19,7 +19,7 @@ JERRY_PORT_DEFAULT_FILES=`find ./targets/default -name "*.c" -or -name "*.h"`
|
||||
JERRY_LIBC_FILES=`find ./jerry-libc -name "*.c" -or -name "*.h"`
|
||||
JERRY_LIBM_FILES=`find ./jerry-libm -name "*.c" -or -name "*.h"`
|
||||
JERRY_MAIN_FILES=`find ./jerry-main -name "*.c" -or -name "*.h"`
|
||||
UNIT_TEST_FILES=`find ./tests/unit -name "*.c" -or -name "*.h"`
|
||||
UNIT_TEST_FILES=`find ./tests/unit-* -name "*.c" -or -name "*.h"`
|
||||
|
||||
if [ -n "$1" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user