diff --git a/tools/tests_in_valgrind.sh b/tools/tests_in_valgrind.sh index f2f0a4255e..ef0299a56e 100755 --- a/tools/tests_in_valgrind.sh +++ b/tools/tests_in_valgrind.sh @@ -22,7 +22,7 @@ make if [ $? = 2 ] ; then - echo "Did you run configure? Do you call me from the top bind10 directory?" >&2 + echo "Did you run configure? Or maybe you're running the script from the tools directory? (you need to run it from the top bind10 build directory)" exit 1 fi @@ -70,6 +70,6 @@ if test -n "$FAILED"; then fi if ! $FOUND_ANY ; then - echo "No test was found. It is possible you configured witouth --with-gtest or you run it from wrong directory" >&2 + echo "No test was found. It is possible you configured without --with-gtest or you run it from wrong directory" >&2 exit 1 fi diff --git a/tools/valgrind_test_cleaner.pl b/tools/valgrind_test_cleaner.pl index 5ebf297f43..9928e9f643 100755 --- a/tools/valgrind_test_cleaner.pl +++ b/tools/valgrind_test_cleaner.pl @@ -14,6 +14,13 @@ use warnings; # # Of course, the rest still can contain many uninteresting entries. +# Yes, it's perl even when we use python. I wrote it for myself when +# I needed to clean the outputs and after it proved useful to me, I +# thought it might be for others too, so I just included it. It's not +# that we would be switching to perl. If it should grow in future to +# include more heuristics and do something more fancy, we should probably +# rewrite it in python instead. + my ($block, $blockOK); sub endBlock(_) {