yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [yetus] branch master updated: YETUS-914. 'make test' is not processed correctly (#75)
Date Mon, 30 Sep 2019 16:39:49 GMT
This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/master by this push:
     new b7c060b  YETUS-914. 'make test' is not processed correctly (#75)
b7c060b is described below

commit b7c060bde16c9ca92f44b1ef69cd48f60e08c426
Author: Allen Wittenauer <aw@apache.org>
AuthorDate: Mon Sep 30 09:39:44 2019 -0700

    YETUS-914. 'make test' is not processed correctly (#75)
    
    Signed-off-by: Sean Busbey <busbey@apache.org>
---
 precommit/src/main/shell/test-patch.d/make.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/precommit/src/main/shell/test-patch.d/make.sh b/precommit/src/main/shell/test-patch.d/make.sh
index 2dff730..86ba512 100755
--- a/precommit/src/main/shell/test-patch.d/make.sh
+++ b/precommit/src/main/shell/test-patch.d/make.sh
@@ -27,6 +27,7 @@ function make_usage
 {
   yetus_add_option "--make-cmd=<cmd>" "The 'make' command to use (default: '${MAKE}')"
   yetus_add_option "--make-file=<filename>" "The name of the file the make cmd should
work on (default: '${MAKEFILE}')"
+  yetus_add_option "--make-use-git-clean" "Instead of 'make clean' use 'git clean' to reset
the source checkout"
 }
 
 ## @description  precheck make
@@ -122,7 +123,7 @@ function make_modules_worker
       fi
     ;;
     unit)
-      modules_workers "${repostatus}" test test
+      modules_workers "${repostatus}" unit test
     ;;
     *)
       # shellcheck disable=SC2034


Mime
View raw message