summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools')
-rw-r--r--chrome/tools/test/smoketests.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/tools/test/smoketests.py b/chrome/tools/test/smoketests.py
index 6045452..94140b4 100644
--- a/chrome/tools/test/smoketests.py
+++ b/chrome/tools/test/smoketests.py
@@ -28,10 +28,14 @@ import subprocess
import sys
import time
-import google.httpd_utils
-import google.path_utils
-import google.process_utils
-
+try:
+ import google.httpd_utils
+ import google.path_utils
+ import google.process_utils
+except ImportError:
+ print ("\n>> You must have your local path of trunk/src/tools/python added"
+ " to your PYTHONPATH.<<\n")
+ raise
# Keep a global httpd object so it can be killed in the event of errors.
_httpd = None