1.1 --- a/test_all.py Sun Jul 11 01:17:11 2010 +0200
1.2 +++ b/test_all.py Sun Jul 11 02:05:41 2010 +0200
1.3 @@ -7,11 +7,16 @@
1.4 from glob import glob
1.5 import operator
1.6
1.7 +libdirs = [
1.8 + os.path.join(os.path.split(__file__)[0], "lib"),
1.9 + "/usr/share/micropython/lib"
1.10 + ]
1.11 +
1.12 # Main program.
1.13
1.14 if __name__ == "__main__":
1.15 args = sys.argv[1:]
1.16 - path = sys.path[:]
1.17 + path = libdirs + sys.path[:]
1.18 path.append("tests")
1.19
1.20 # Process all tests.