summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2016-07-14 17:34:12 +0100
committerRobert Newson <rnewson@apache.org>2016-07-14 17:34:12 +0100
commit900ef5e3555b7c6a1c049745687255754a23b263 (patch)
treeb990349817479a83eeaf98004d30bd7a0db9e756
parent93b36145cfa6436535db3d93f7b9fa91684b9385 (diff)
downloadcouchdb-900ef5e3555b7c6a1c049745687255754a23b263.tar.gz
Run tests in alphabetical order as intended
-rwxr-xr-xtest/javascript/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/javascript/run b/test/javascript/run
index f0e891095..458f75b0a 100755
--- a/test/javascript/run
+++ b/test/javascript/run
@@ -111,7 +111,7 @@ def main():
args = ["test/javascript/tests"]
for name in args:
if os.path.isdir(name):
- tests.extend(glob.glob(os.path.join(name, "*.js")))
+ tests.extend(sorted(glob.glob(os.path.join(name, "*.js"))))
elif os.path.isfile(name):
tests.append(name)
else: