From adfa6d3576e7af0a8eb59ab1b6fb64d21d2b3664 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Tue, 5 Aug 2014 15:37:16 +0400 Subject: [PATCH] Adding -s (silent) flag to make command line in tools/push.sh. --- Makefile | 6 +++--- tools/push.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index fbf3bf516..318f6b312 100644 --- a/Makefile +++ b/Makefile @@ -90,12 +90,12 @@ push: ./tools/push.sh precommit: clean @ echo -e "\nBuilding...\n\n" - @ $(MAKE) -s build + @ $(MAKE) build @ echo -e "\n================ Build completed successfully. Running precommit tests ================\n" @ echo -e "All targets were built successfully. Starting unit tests' build and run.\n" - @ $(MAKE) -s unittests TESTS_OPTS="--silent" + @ $(MAKE) unittests TESTS_OPTS="--silent" @ echo -e "Unit tests completed successfully. Starting parse-only testing.\n" - @ $(MAKE) -s $(PRECOMMIT_CHECK_TARGETS_LIST) TESTS_DIR=./tests/jerry TESTS_OPTS="--parse-only" OUTPUT_TO_LOG=enable + @ $(MAKE) $(PRECOMMIT_CHECK_TARGETS_LIST) TESTS_DIR=./tests/jerry TESTS_OPTS="--parse-only" OUTPUT_TO_LOG=enable @ echo -e "\e[0;31mFIXME:\e[0m './benchmarks/jerry parse-only' testing skipped.\n"; # $(MAKE) -s $(PRECOMMIT_CHECK_TARGETS_LIST) TESTS_DIR=./benchmarks/jerry TESTS_OPTS="--parse-only" OUTPUT_TO_LOG=enable @ echo -e "Parse-only testing completed successfully. Starting full tests run.\n" @ echo -e "\e[0;31mFIXME:\e[0m Full testing skipped.\n"; # $(MAKE) -s $(PRECOMMIT_CHECK_TARGETS_LIST) TESTS_DIR=./tests/jerry OUTPUT_TO_LOG=enable diff --git a/tools/push.sh b/tools/push.sh index c24c8165f..35659109d 100755 --- a/tools/push.sh +++ b/tools/push.sh @@ -78,7 +78,7 @@ do git log --pretty=format:"%H %s" | grep $commit_hash | grep -o " .*" echo - make -j precommit 2>&1 + make -s -j precommit 2>&1 status_code=$? if [ $status_code -ne 0 ] then