Changeset 29235 for branches/sc_branches/psps_testing/testers/batch_file.py
- Timestamp:
- Sep 24, 2010, 3:50:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/psps_testing/testers/batch_file.py
r29228 r29235 26 26 27 27 >>> print BatchFileTester("data/psut/ok/B00000010.tar.gz").test().success 28 True 28 False 29 >>> # Will be True one day... 29 30 """ 30 31 def __init__(self, filename): … … 51 52 Runs the different tests. Runs the dependant tests if all 52 53 tests are succesful. 54 55 >>> print BatchFileTester("data/psut/ok/B00000005.tar.gz").test().success 56 False 57 >>> print BatchFileTester("data/psut/ok/B00000005.tar.gz").test().success 58 False 53 59 """ 54 60 PsPsLogger.debug('Starting BatchFileTester object test') … … 92 98 FileManipulation.delete_directory(tempDir) 93 99 else: 94 PsPsLogger.debug('Dependant tests not run (condition on upstream tests is %s and start_dependant_tests variable is %s)' % (str( testsOk), str(start_dependant_tests)))100 PsPsLogger.debug('Dependant tests not run (condition on upstream tests is %s and start_dependant_tests variable is %s)' % (str( product.success), str(start_dependant_tests))) 95 101 return product 96 102 … … 254 260 current_argument_position = 1 255 261 while current_argument_position < len(sys.argv): 256 if sys.argv[current_argument_position] == '- v':262 if sys.argv[current_argument_position] == '-debug': # pragma: no cover 257 263 PsPsLogger.set_stderr() 258 264 current_argument_position += 1
Note:
See TracChangeset
for help on using the changeset viewer.
