Back out Bug 1695 fix
authorMitch Watrous <watrous@u.washington.edu>
Thu, 13 Jun 2013 14:27:04 -0700
changeset 9827 9081fd8fb7a3
parent 9826 8a9f775a4cba
child 9828 ed3f8c08289e
Back out Bug 1695 fix
test.py
wscript
--- a/test.py	Thu Jun 13 11:29:15 2013 -0700
+++ b/test.py	Thu Jun 13 14:27:04 2013 -0700
@@ -58,7 +58,6 @@
     "BUILD_PROFILE",
     "VERSION",
     "PYTHON",
-    "VALGRIND_FOUND",
 ]
 
 NSC_ENABLED = False
@@ -74,7 +73,6 @@
 BUILD_PROFILE = ""
 VERSION = ""
 PYTHON = ""
-VALGRIND_FOUND = False
 
 #
 # This will be given a prefix and a suffix when the waf config file is
@@ -1768,16 +1766,6 @@
             print
 
     #
-    # Let the user know if they tried to use valgrind but it was not
-    # present on their machine.
-    #
-    if options.valgrind and not VALGRIND_FOUND:
-        print
-        print '***  Note: you are trying to use valgrind, but valgrind could not be found'
-        print '***  on your machine.  All tests and examples will crash or be skipped.'
-        print
-
-    #
     # If we have been asked to retain all of the little temporary files, we
     # don't delete tm.  If we do delete the temporary files, delete only the
     # directory we just created.  We don't want to happily delete any retained
--- a/wscript	Thu Jun 13 11:29:15 2013 -0700
+++ b/wscript	Thu Jun 13 14:27:04 2013 -0700
@@ -468,10 +468,8 @@
     conf.report_optional_feature("ENABLE_EXAMPLES", "Build examples", env['ENABLE_EXAMPLES'], 
                                  why_not_examples)
 
-    env['VALGRIND_FOUND'] = False
     try:
         conf.find_program('valgrind', var='VALGRIND')
-        env['VALGRIND_FOUND'] = True
     except WafError:
         pass