You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2019/02/22 01:21:49 UTC

[GitHub] nwangtw commented on a change in pull request #3196: Enable Valgrind Checks in Travis

nwangtw commented on a change in pull request #3196: Enable Valgrind Checks in Travis
URL: https://github.com/apache/incubator-heron/pull/3196#discussion_r259182535
 
 

 ##########
 File path: scripts/travis/build.sh
 ##########
 @@ -108,6 +108,18 @@ python ${UTILS}/save-logs.py "heron_test_flaky.txt" bazel\
   eco-storm-examples/... eco-heron-examples/...
 end_timer "$T"
 
+# run valgrind tests on cpp tests
+# excluding tuple-cache_unittest because its results are flaky when running under valgrind
+T="heron valgrind test"
+start_timer "$T"
+python ${UTILS}/save-logs.py "heron_valgrind_test.txt" bazel\
+  --bazelrc=tools/travis/bazel.rc test\
+  --run_under=valgrind\
+  --test_summary=detailed --test_output=errors\
+  --config=$PLATFORM --jobs=0\
+  $(bazel query 'kind("cc_test rule", ...)' | grep -v //heron/stmgr/tests/cpp/util:tuple-cache_unittest)
 
 Review comment:
   tmaster is native code as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services