Changeset 70816 in vbox for trunk/src/VBox/ValidationKit/tests/api
- Timestamp:
- Jan 30, 2018 6:20:29 PM (7 years ago)
- Location:
- trunk/src/VBox/ValidationKit/tests/api
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/api/tdApi1.py
r70813 r70816 50 50 """ 51 51 52 def __init__(self, a oSubTestDrivers = None):52 def __init__(self, aSubTestDrivers = None): 53 53 vbox.TestDriver.__init__(self) 54 54 self.asRsrcs = None 55 for classSubTestDrivers in aSubTestDrivers: 56 self.addSubTestDriver(classSubTestDrivers(self)) 55 57 56 58 # … … 78 80 if __name__ == '__main__': 79 81 sys.path.append(os.path.dirname(os.path.abspath(__file__))) 80 oTD = tdApi1()81 82 from tdPython1 import SubTstDrvPython1 82 oTD.addSubTestDriver(SubTstDrvPython1(oTD))83 83 from tdAppliance1 import SubTstDrvAppliance1 84 oTD.addSubTestDriver(SubTstDrvAppliance1(oTD))85 84 from tdMoveMedium1 import SubTstDrvMoveMedium1 86 oTD.addSubTestDriver(SubTstDrvMoveMedium1(oTD))87 85 from tdTreeDepth1 import SubTstDrvTreeDepth1 88 oTD.addSubTestDriver(SubTstDrvTreeDepth1(oTD)) 89 sys.exit(oTD.main(sys.argv)) 86 sys.exit(tdApi1([SubTstDrvPython1, SubTstDrvAppliance1, SubTstDrvMoveMedium1, SubTstDrvTreeDepth1]).main(sys.argv)) 90 87 -
trunk/src/VBox/ValidationKit/tests/api/tdAppliance1.py
r70813 r70816 202 202 sys.path.append(os.path.dirname(os.path.abspath(__file__))) 203 203 from tdApi1 import tdApi1 204 oTD = tdApi1() 205 oTD.addSubTestDriver(SubTstDrvAppliance1(oTD)) 206 sys.exit(oTD.main(sys.argv)) 207 204 sys.exit(tdApi1([SubTstDrvAppliance1]).main(sys.argv)) 205 -
trunk/src/VBox/ValidationKit/tests/api/tdMoveMedium1.py
r70813 r70816 163 163 sys.path.append(os.path.dirname(os.path.abspath(__file__))) 164 164 from tdApi1 import tdApi1 165 oTD = tdApi1() 166 oTD.addSubTestDriver(SubTstDrvMoveMedium1(oTD)) 167 sys.exit(oTD.main(sys.argv)) 165 sys.exit(tdApi1([SubTstDrvMoveMedium1]).main(sys.argv)) 168 166 -
trunk/src/VBox/ValidationKit/tests/api/tdPython1.py
r70813 r70816 208 208 sys.path.append(os.path.dirname(os.path.abspath(__file__))) 209 209 from tdApi1 import tdApi1 210 oTD = tdApi1() 211 oTD.addSubTestDriver(SubTstDrvPython1(oTD)) 212 sys.exit(oTD.main(sys.argv)) 213 210 sys.exit(tdApi1([SubTstDrvPython1]).main(sys.argv)) 211 -
trunk/src/VBox/ValidationKit/tests/api/tdTreeDepth1.py
r70813 r70816 148 148 sys.path.append(os.path.dirname(os.path.abspath(__file__))) 149 149 from tdApi1 import tdApi1 150 oTD = tdApi1() 151 oTD.addSubTestDriver(SubTstDrvTreeDepth1(oTD)) 152 sys.exit(oTD.main(sys.argv)) 150 sys.exit(tdApi1([SubTstDrvTreeDepth1]).main(sys.argv)) 153 151
Note:
See TracChangeset
for help on using the changeset viewer.