| OLD | NEW |
| 1 #!/usr/bin/python2.4 | 1 #!/usr/bin/python2.4 |
| 2 # | 2 # |
| 3 # | 3 # |
| 4 # Copyright 2007, The Android Open Source Project | 4 # Copyright 2007, The Android Open Source Project |
| 5 # | 5 # |
| 6 # Licensed under the Apache License, Version 2.0 (the "License"); | 6 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 # you may not use this file except in compliance with the License. | 7 # you may not use this file except in compliance with the License. |
| 8 # You may obtain a copy of the License at | 8 # You may obtain a copy of the License at |
| 9 # | 9 # |
| 10 # http://www.apache.org/licenses/LICENSE-2.0 | 10 # http://www.apache.org/licenses/LICENSE-2.0 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 def HasValgrind(): | 187 def HasValgrind(): |
| 188 """Check that /usr/bin/valgrind exists. | 188 """Check that /usr/bin/valgrind exists. |
| 189 | 189 |
| 190 We look for the fullpath to avoid picking up 'alternative' valgrind | 190 We look for the fullpath to avoid picking up 'alternative' valgrind |
| 191 on the system. | 191 on the system. |
| 192 | 192 |
| 193 Returns: | 193 Returns: |
| 194 True if a system valgrind was found. | 194 True if a system valgrind was found. |
| 195 """ | 195 """ |
| 196 return os.path.exists("/usr/bin/valgrind") | 196 return os.path.exists("/usr/bin/valgrind") |
| OLD | NEW |