/vbox/src/VBox/ValidationKit/ |
H A D | td-dummy.py | 29 import testdriver.reporter as reporter namespace 44 reporter.log("the reporter works")
|
/vbox/src/VBox/ValidationKit/tests/selftests/ |
H A D | tdSelfTest2.py | 45 from testdriver import reporter; namespace 59 reporter.testStart('reporter.testXXXX API'); 60 reporter.testValue('value-name1', 123456789, 'ms'); 62 reporter.testStart('subtest'); 63 reporter.testValue('value-name2', 11223344, 'times'); 64 reporter.testDone(); 66 reporter.testStart('subtest2'); 67 reporter.testValue('value-name3', 39, 'sec'); 68 reporter [all...] |
H A D | tdSelfTest3.py | 45 from testdriver import reporter; namespace 61 reporter.testStart('Negative XML #1'); 62 oSubXmlFile = reporter.FileWrapperTestPipe(); 67 reporter.testDone(); 70 reporter.testStart('Negative XML #2 (IPRT)'); 71 oSubXmlFile = reporter.FileWrapperTestPipe(); 102 reporter.testDone(); 105 reporter.testStart('Using testFailure()'); 106 reporter.testValue('value-name3', 12345678, 'times'); 107 reporter [all...] |
H A D | tdSelfTest4.py | 44 from testdriver import reporter; namespace 74 reporter.testStart('Too many immediate sub-tests (negative)'); 76 reporter.testStart('subsub%d' % i); 77 reporter.testDone(); 80 reporter.testStart('Too many sub-tests (negative)'); 83 reporter.testStart('subsub%d' % i); 85 reporter.testStart('subsubsub%d' % j); 86 reporter.testDone(); 87 reporter.testDone(); 90 reporter [all...] |
/vbox/src/VBox/ValidationKit/testdriver/ |
H A D | tst-txsclient.py | 40 import testdriver.reporter as reporter namespace 262 reporter.error('Unexpected value \"%s\" while executing non-existent file "%s"' % (rc, sProg)); 282 reporter.incVerbosity(); 283 reporter.incVerbosity(); 284 reporter.incVerbosity(); 285 reporter.incVerbosity();
|
H A D | winbase.py | 44 from testdriver import reporter; namespace 62 #reporter.log('GenerateConsoleCtrlEvent -> %s' % (rc,)); 65 reporter.logXcpt('uPid=%s' % (uPid,)); 76 reporter.logXcpt('uTid=%s' % (uTid,)); 86 reporter.logXcpt('uTid=%s' % (uTid,)); 95 reporter.logXcpt('uPid=%s' % (uPid,)); 101 reporter.logXcpt('uPid=%s' % (uPid,)); 115 reporter.logXcpt('uPid=%s' % (uPid,)); 132 reporter.log2('uPid=%s sName=%s sCurName=%s' % (uPid, sName, sCurName)); 144 reporter [all...] |
H A D | vboxinstaller.py | 52 from testdriver import reporter; namespace 82 reporter.log(''); 83 reporter.log('vboxinstaller Options:'); 84 reporter.log(' --vbox-build <url[,url2[,..]]>'); 85 reporter.log(' Comma separated list of URL to file to download and install or/and'); 86 reporter.log(' unpack. URLs without a schema are assumed to be files on the'); 87 reporter.log(' build share and will be copied off it.'); 88 reporter.log(' --no-puel-extpack'); 89 reporter.log(' Indicates that the PUEL extension pack should not be installed if found.'); 90 reporter [all...] |
H A D | vboxtestvms.py | 38 from testdriver import reporter; namespace 233 reporter.fatal('The OS of test VM "%s" cannot be guessed' % (self.sVmName,)); 245 reporter.fatal('The OS of test VM "%s" with sKind="%s" cannot be guessed' % (self.sVmName, self.sKind)); 258 reporter.fatal('The OS of test VM "%s", sKind="%s" cannot be guessed' % (self.sVmName, self.sKind)); 472 reporter.log(''); 473 reporter.log('Test VM selection and general config options:'); 474 reporter.log(' --virt-modes <m1[:m2[:]]'); 475 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 476 reporter.log(' --skip-virt-modes <m1[:m2[:]]'); 477 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/api/ |
H A D | tdTreeDepth1.py | 44 from testdriver import reporter namespace 86 reporter.testStart('mediumTreeDepth') 112 reporter.log('unregistering VM') 115 reporter.log('opening VM %s, testing config reading' % (sSettingsFile)) 120 reporter.errorXcpt() 122 return reporter.testDone()[1] == 0 128 reporter.testStart('snapshotTreeDepth') 148 reporter.log('unregistering VM') 151 reporter.log('opening VM %s, testing config reading' % (sSettingsFile)) 156 reporter [all...] |
H A D | tdPython1.py | 47 from testdriver import reporter; namespace 91 reporter.error('waitForEvents() returned "%s" when called on a worker thread, expected exception.' % (rc2,)); 98 reporter.testStart('waitForEvents'); 107 reporter.errorXcpt(); 110 reporter.error('waitForEvents returns non-integer type'); 115 reporter.error('waitForEvents returns "%s", expected 0 or 1' % (rc,)); 119 reporter.error('waitForEvents returns 0 (success) %u times. ' 123 if reporter.testErrorCount() != 0: 128 reporter.log('If running a debug build, you will see an ignored assertion now. Please ignore it.') 136 return reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/benchmarks/ |
H A D | tdBenchmark1.py | 44 from testdriver import reporter; namespace 97 if not reporter.isLocal(): ## @todo need to figure a better way of handling timeouts on the testboxes ... 105 reporter.error('oRc=%s, expected %s' % (oRc, oSession)); 107 reporter.addSubXmlFile(sXmlFile);
|
/vbox/src/VBox/ValidationKit/tests/smoketests/ |
H A D | tdSmokeTest1.py | 44 from testdriver import reporter; namespace 68 reporter.log(''); 69 reporter.log('Smoke Test #1 options:'); 70 reporter.log(' --nic-attachment <bridged|nat|mixed>'); 71 reporter.log(' Default: %s' % (self.sNicAttachmentDef)); 72 reporter.log(' --quick'); 73 reporter.log(' Very selective testing.') 110 reporter.error('Cannot find the VBoxValidationKit.iso! (%s)'
|
/vbox/src/VBox/ValidationKit/tests/usb/ |
H A D | usbgadget.py | 35 import testdriver.reporter as reporter; namespace 100 reporter.log('Invalid impersonation'); 126 reporter.log('Invalid impersonation');
|
H A D | tdUsb1.py | 45 from testdriver import reporter; namespace 106 reporter.log(''); 107 reporter.log('tdStorageBenchmark1 Options:'); 108 reporter.log(' --virt-modes <m1[:m2[:]]'); 109 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 110 reporter.log(' --cpu-counts <c1[:c2[:]]'); 111 reporter.log(' Default: %s' % (':'.join(str(c) for c in self.acCpusDef))); 112 reporter.log(' --test-vms <vm1[:vm2[:...]]>'); 113 reporter.log(' Test the specified VMs in the given order. Use this to change'); 114 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/cpu/ |
H A D | tdCpuPae1.py | 47 from testdriver import reporter; namespace 65 reporter.log('onRuntimeError: fFatal=%s sErrId="%s" sMessage="%s"' % (fFatal, sErrId, sMessage)); 67 reporter.testFailure('sErrId=%s, expected PAEmode' % (sErrId,)); 69 reporter.testFailure('fFatal=%s, expected True' % (fFatal,)); 97 reporter.log(''); 98 reporter.log('tdCpuPae1 Options:'); 99 reporter.log(' --virt-modes <m1[:m2[:]]'); 100 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 101 reporter.log(' --cpu-counts <c1[:c2[:]]'); 102 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/installation/ |
H A D | tdGuestOsInstOs2.py | 47 from testdriver import reporter namespace 102 reporter.log(' --install-iso <ISO file name>') 103 reporter.log(' --cpus <# CPUs>') 104 reporter.log(' --no-ioapic') 105 reporter.log(' --no-nested-paging') 106 reporter.log(' --pae') 107 reporter.log(' --set-extradata <key>:value') 108 reporter.log(' Set VM extra data. This command line option might be used multiple times.') 149 reporter.log('Error: unknown ISO image specified: %s' % self.sIso) 205 reporter [all...] |
H A D | tdGuestOsInstTest1.py | 47 from testdriver import reporter; namespace 148 reporter.errorXcpt(); 172 reporter.log('Set extradata: %s => %s' % (sKey, sValue)) 202 reporter.logXcpt(); 214 reporter.log('Skipping "%s" because host CPU is a family %u AMD, which may cause trouble for the guest OS installer.' 297 reporter.log(''); 298 reporter.log('tdGuestOsInstTest1 options:'); 299 reporter.log(' --ioapic, --no-ioapic'); 300 reporter.log(' Enable or disable the I/O apic.'); 301 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/additions/ |
H A D | tdAddBasic1.py | 44 from testdriver import reporter; namespace 75 reporter.log(''); 76 reporter.log('tdAddBasic1 Options:'); 77 reporter.log(' --tests <s1[:s2[:]]>'); 78 reporter.log(' Default: %s (all)' % (':'.join(self.asTestsDef))); 79 reporter.log(' --quick'); 80 reporter.log(' Same as --virt-modes hwvirt --cpu-counts 1.'); 132 reporter.testStart('Install'); 134 reporter.testDone(); 137 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/network/ |
H A D | tdNetBenchmark1.py | 45 from testdriver import reporter; namespace 98 reporter.log(''); 99 reporter.log('tdNetBenchmark1 Options:'); 100 reporter.log(' --remote-host <hostname|address>'); 101 reporter.log(' --local-host <hostname|address>'); 102 reporter.log(' --guest-host <hostname|address>'); 103 reporter.log(' --virt-modes <m1[:m2[:]]'); 104 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 105 reporter.log(' --cpu-counts <c1[:c2[:]]'); 106 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/shutdown/ |
H A D | tdGuestOsShutdown1.py | 47 from testdriver import reporter namespace 109 reporter.log(' --boot-hdd <HDD image file name>') 111 reporter.log(' --cpus <# CPUs>') 112 reporter.log(' --no-ioapic') 113 reporter.log(' --no-nested-paging') 114 reporter.log(' --pae') 115 reporter.log(' --suspend-host') 116 reporter.log(' --suspend-time <sec>') 117 reporter.log(' --shutdown-iters <# iters>') 118 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/storage/ |
H A D | tdStorageSnapshotMerging1.py | 45 from testdriver import reporter; namespace 89 reporter.log(''); 90 reporter.log('tdStorageSnapshot1 Options:'); 91 reporter.log(' --storage-ctrls <type1[:type2[:...]]>'); 92 reporter.log(' Default: %s' % (':'.join(self.asStorageCtrls))); 93 reporter.log(' --disk-formats <type1[:type2[:...]]>'); 94 reporter.log(' Default: %s' % (':'.join(self.asDiskFormats))); 95 reporter.log(' --test-vms <vm1[:vm2[:...]]>'); 96 reporter.log(' Test the specified VMs in the given order. Use this to change'); 97 reporter [all...] |
H A D | tdStorageStress1.py | 43 from testdriver import reporter; namespace 101 reporter.log(''); 102 reporter.log('tdStorageBenchmark1 Options:'); 103 reporter.log(' --virt-modes <m1[:m2[:]]'); 104 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 105 reporter.log(' --cpu-counts <c1[:c2[:]]'); 106 reporter.log(' Default: %s' % (':'.join(str(c) for c in self.acCpusDef))); 107 reporter.log(' --storage-ctrls <type1[:type2[:...]]>'); 108 reporter.log(' Default: %s' % (':'.join(self.asStorageCtrls))); 109 reporter [all...] |
H A D | tdStorageBenchmark1.py | 46 from testdriver import reporter; namespace 135 reporter.log('Unknown test returned %s' % sLine); 228 reporter.log(sLine); 271 reporter.log(''); 272 reporter.log('tdStorageBenchmark1 Options:'); 273 reporter.log(' --virt-modes <m1[:m2[:]]'); 274 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 275 reporter.log(' --cpu-counts <c1[:c2[:]]'); 276 reporter.log(' Default: %s' % (':'.join(str(c) for c in self.acCpusDef))); 277 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/teleportation/ |
H A D | tdTeleportLocal1.py | 44 from testdriver import reporter; namespace 74 reporter.log(''); 75 reporter.log('tdTeleportLocal1 Options:'); 76 reporter.log(' --virt-modes <m1[:m2[:]]'); 77 reporter.log(' Default: %s' % (':'.join(self.asVirtModesDef))); 78 reporter.log(' --cpu-counts <c1[:c2[:]]'); 79 reporter.log(' Default: %s' % (':'.join(str(c) for c in self.acCpusDef))); 80 reporter.log(' --test-vms <vm1[:vm2[:...]]>'); 81 reporter.log(' Test the specified VMs in the given order. Use this to change'); 82 reporter [all...] |
/vbox/src/VBox/ValidationKit/tests/unittests/ |
H A D | tdUnitTest1.py | 50 from testdriver import reporter namespace 307 reporter.error('Unabled to import the VBox Python API.') 312 reporter.error('Unabled to detect the VBox build.'); 354 reporter.error('Unable to find unit test dir. Candidates: %s' % (asCandidates,)) 374 reporter.log('') 375 reporter.log('********************') 376 reporter.log('*** PASSED: %d' % self.cPassed) 377 reporter.log('*** FAILED: %d' % self.cFailed) 378 reporter.log('*** SKIPPED: %d' % self.cSkipped) 379 reporter [all...] |