summaryrefslogtreecommitdiff
path: root/cpp/allTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/allTests.py')
-rwxr-xr-xcpp/allTests.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py
index a7871d46718..f3cc035666e 100755
--- a/cpp/allTests.py
+++ b/cpp/allTests.py
@@ -89,5 +89,14 @@ tests = [
("Glacier2/staticFiltering", ["service", "noipv6"]),
]
+#
+# Run priority tests only if running as root on Unix.
+#
+if TestUtil.isWin32() or os.getuid() == 0:
+ tests += [
+ ("IceUtil/priority", ["core", "nodarwin"]),
+ ("Ice/threadPoolPriority", ["core", "nodarwin"])
+ ]
+
if __name__ == "__main__":
TestUtil.run(tests)