diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-01-02 03:03:29 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-01-02 03:03:29 +0000 |
commit | 59dff6756941818b99418e4931add233a761acbd (patch) | |
tree | 617114438a76cc548592c0cd03bacbb319d3eca5 | |
parent | 41be03932647b5d59adccb360e822e7db1ee9984 (diff) | |
download | pyserial-git-59dff6756941818b99418e4931add233a761acbd.tar.gz |
- allow that the port can be passed on command line
- output pySerial version that is tested
-rw-r--r-- | pyserial/test/run_all_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pyserial/test/run_all_tests.py b/pyserial/test/run_all_tests.py index b4a954d..863057e 100644 --- a/pyserial/test/run_all_tests.py +++ b/pyserial/test/run_all_tests.py @@ -15,7 +15,12 @@ import time # working copy sys.path.insert(0, '..') +import serial +print "Patching sys.path to test local version. Testing Version: %s" % (serial.VERSION,) + PORT = 'loop://' +if len(sys.argv) > 1: + PORT = sys.argv[1] # find files and the tests in them mainsuite = unittest.TestSuite() |