SeattleTestbed / repy_v1

Seattle Testbed's original Repy version 1 sandbox
MIT License
1 stars 4 forks source link

utf.py - alphabetic sorting of testfiles #130

Closed choksi81 closed 10 years ago

choksi81 commented 10 years ago

utf.py does a glob.glob("*") to create a list of all unittestfiles in the testdirectory. So far this list is "arbitrarily" sorted, which makes it hard to compare a test's outputs with previous tests. I suggest an alphabetic sorting. Maybe in a way like this:

   # All files in the current working directory.
   all_files = glob.glob("*")
+  
+  all_files.sort()
choksi81 commented 10 years ago

Author: justinc This sounds like a good idea to me.

choksi81 commented 10 years ago

Author: leonwlaw Lucas's patch looks good. I added a minor comment and committed.

Fixed with r6581.

choksi81 commented 10 years ago

Author: albert Fixed for RepyV2 by Leonard in r6581. Thank you!