Enabling full testing mode during pre-commit.
This commit is contained in:
@@ -114,23 +114,22 @@ precommit: clean
|
|||||||
[ $$result_ok -eq 1 ] || exit 1; \
|
[ $$result_ok -eq 1 ] || exit 1; \
|
||||||
done
|
done
|
||||||
@ echo -e "Parse-only testing completed successfully. Starting full tests run.\n"
|
@ echo -e "Parse-only testing completed successfully. Starting full tests run.\n"
|
||||||
@ echo -e "\e[0;31mFIXME:\e[0m Full testing skipped.\n";
|
|
||||||
@ # Full testing
|
@ # Full testing
|
||||||
@ # for path in "./tests/jerry" "./benchmarks/jerry"; \
|
@ for path in "./tests/jerry"; \
|
||||||
# do \
|
do \
|
||||||
# run_ids=""; \
|
run_ids=""; \
|
||||||
# for check_target in $(PRECOMMIT_CHECK_TARGETS_LIST); \
|
for check_target in $(PRECOMMIT_CHECK_TARGETS_LIST); \
|
||||||
# do \
|
do \
|
||||||
# $(MAKE) -s -f Makefile.mk TARGET=$$check_target $$check_target TESTS_DIR="$$path" TESTS_OPTS="" OUTPUT_TO_LOG=enable & \
|
$(MAKE) -s -f Makefile.mk TARGET=$$check_target $$check_target TESTS_DIR="$$path" TESTS_OPTS="" OUTPUT_TO_LOG=enable & \
|
||||||
# run_ids="$$run_ids $$!"; \
|
run_ids="$$run_ids $$!"; \
|
||||||
# done; \
|
done; \
|
||||||
# result_ok=1; \
|
result_ok=1; \
|
||||||
# for run_id in $$run_ids; \
|
for run_id in $$run_ids; \
|
||||||
# do \
|
do \
|
||||||
# wait $$run_id || result_ok=0; \
|
wait $$run_id || result_ok=0; \
|
||||||
# done; \
|
done; \
|
||||||
# [ $$result_ok -eq 1 ] || exit 1; \
|
[ $$result_ok -eq 1 ] || exit 1; \
|
||||||
# done
|
done
|
||||||
@ echo -e "Full testing completed successfully\n\n================\n\n"
|
@ echo -e "Full testing completed successfully\n\n================\n\n"
|
||||||
|
|
||||||
$(JERRY_TARGETS) $(TESTS_TARGET) $(FLASH_TARGETS):
|
$(JERRY_TARGETS) $(TESTS_TARGET) $(FLASH_TARGETS):
|
||||||
|
|||||||
Reference in New Issue
Block a user