diff options
Diffstat (limited to 'java/allTests.py')
-rwxr-xr-x | java/allTests.py | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/java/allTests.py b/java/allTests.py index 9ad0698ab8a..f0769378a9d 100755 --- a/java/allTests.py +++ b/java/allTests.py @@ -19,7 +19,7 @@ else: raise "can't find toplevel directory!" # -# List of all tests. +# List of all basic tests. # tests = [ \ "Ice/operations", \ @@ -33,11 +33,21 @@ tests = [ \ "Freeze/cursor", \ "Freeze/dbmap", \ "Freeze/complex", \ - "Glacier/starter", \ ] # -# The user can supply on the command line a subset of tests to run. +# Certain tests only work on Linux. +# +# The substring on sys.platform is required because some cygwin +# versions return "cygwin_nt-4.01". +# +if sys.platform != "win32" and sys.platform[:6] != "cygwin": + tests += [ \ + "Glacier/starter", \ + ] + +# +# The user can supply a subset of tests on the command line. # if sys.argv[1:]: print "limiting tests" |