Changes in test/run_one.py [95fb3e8:76f132a] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/run_one.py
r95fb3e8 r76f132a 1 1 #!/usr/bin/env python 2 2 3 import os 3 4 import sys … … 8 9 9 10 run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py') 10 #print run_py11 11 run = imp.load_source('sasview_run', run_py) 12 12 run.prepare() 13 13 #print "\n".join(sys.path) 14 test_path,test_file = splitpath( sys.argv[1])15 print " test file",sys.argv[1]14 test_path,test_file = splitpath(abspath(sys.argv[1])) 15 print "=== testing:",sys.argv[1] 16 16 #print test_path, test_file 17 17 sys.argv = [sys.argv[0]] … … 20 20 test = imp.load_source('tests',test_file) 21 21 unittest.main(test, testRunner=xmlrunner.XMLTestRunner(output='logs')) 22
Note: See TracChangeset
for help on using the changeset viewer.