yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [29/50] [abbrv] yetus git commit: HADOOP-12316. Potential false-positive and false-negative in parsing TAP output (Kengo Seki via aw)
Date Wed, 23 Sep 2015 02:23:59 GMT
HADOOP-12316. Potential false-positive and false-negative in parsing TAP output (Kengo Seki
via aw)


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/b1c072e4
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/b1c072e4
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/b1c072e4

Branch: refs/heads/master
Commit: b1c072e45b3cd91b55d04c6874de5eba4e6553ca
Parents: 5821d5c
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu Aug 13 13:35:37 2015 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Thu Aug 13 13:35:37 2015 -0700

----------------------------------------------------------------------
 dev-support/test-patch.d/tap.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/b1c072e4/dev-support/test-patch.d/tap.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.d/tap.sh b/dev-support/test-patch.d/tap.sh
index c6796a8..f94a14f 100755
--- a/dev-support/test-patch.d/tap.sh
+++ b/dev-support/test-patch.d/tap.sh
@@ -49,7 +49,7 @@ function tap_process_tests
   declare module_failed_tests
   declare filenames
 
-  filenames=$(find "${TAP_LOG_DIR}" -type f -exec "${GREP}" -l -E "not ok " {} \;)
+  filenames=$(find "${TAP_LOG_DIR}" -type f -exec "${GREP}" -l -E "^not ok" {} \;)
 
   if [[ -n "${filenames}" ]]; then
     module_failed_tests=$(echo "${filenames}" \
@@ -73,7 +73,7 @@ function tap_finalize_results
 
   if [[ -n "${TAP_FAILED_TESTS}" ]] ; then
     # shellcheck disable=SC2086
-    populate_test_table "${jdk}Failed junit tests" ${TAP_FAILED_TESTS}
+    populate_test_table "${jdk}Failed TAP tests" ${TAP_FAILED_TESTS}
     TAP_FAILED_TESTS=""
     add_footer_table "TAP logs" "${TAP_LOGS}"
   fi


Mime
View raw message