summaryrefslogtreecommitdiff
path: root/allTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'allTests.py')
-rwxr-xr-xallTests.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/allTests.py b/allTests.py
index 15746a57e97..bde2bbdba85 100755
--- a/allTests.py
+++ b/allTests.py
@@ -15,11 +15,15 @@ import TestUtil
testGroups = []
-for d in [ "cpp", "java", "cs", "py", "rb", "php", "js" ]:
-
+languages = [ "cpp", "java", "cs", "py", "rb", "php", "js" ]
+if TestUtil.isDarwin():
+ languages.append("objc")
+
+for d in languages:
+
filename = os.path.abspath(os.path.join(os.path.dirname(__file__), d, "allTests.py"))
f = open(filename, "r")
- current_mod = imp.load_module("allTests", f, filename, (".py", "r", imp.PY_SOURCE))
+ current_mod = imp.load_module("allTests", f, filename, (".py", "r", imp.PY_SOURCE))
f.close()
tests = []