Commits

Bryan O'Sullivan  committed 8f4c9ae

Run examples in predictable order if we're doing the lot.

  • Participants
  • Parent commits a342a44

Comments (0)

Files changed (1)

File en/examples/run-example

                 print >> sys.stderr, '%s: not a file, or not executable' % a
                 errs += 1
         return errs
-    for name in os.listdir(path):
+    names = os.listdir(path)
+    names.sort()
+    for name in names:
         if name == 'run-example' or name.startswith('.'): continue
         if name.endswith('.out') or name.endswith('~'): continue
         if name.endswith('.run'): continue