Searched refs:reporter (Results 1 - 25 of 32) sorted by relevance

12

/vbox/src/VBox/ValidationKit/tests/selftests/
H A DtdSelfTest2.py45 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 DtdSelfTest4.py44 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...]
H A DtdSelfTest3.py45 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...]
/vbox/src/VBox/ValidationKit/tests/api/
H A DtdPython1.py47 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...]
H A DtdTreeDepth1.py44 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...]
/vbox/src/VBox/ValidationKit/
H A Dtd-dummy.py29 import testdriver.reporter as reporter namespace
44 reporter.log("the reporter works")
/vbox/src/VBox/ValidationKit/tests/teleportation/
H A DtdTeleportLocal1.py44 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/additions/
H A DtdAddBasic1.py44 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...]
H A DtdAddGuestCtrl.py59 from testdriver import reporter; namespace
127 reporter.log('Creating session "%s" ...' % (sName,));
134 reporter.logXcpt('Creating a guest session "%s" failed; sUser="%s", pw="%s", sDomain="%s":'
139 reporter.log('Waiting for session "%s" to start within %ldms...' % (sName, self.timeoutMS));
149 reporter.log('Session did not start successfully, returned wait result: %ld' \
152 reporter.log('Session "%s" successfully started' % (sName,));
155 reporter.logXcpt('Waiting for guest session "%s" to start failed:' % (sName));
158 reporter.log('Warning: Session already set; this is probably not what you want');
178 reporter.log('Closing session "%s" ...' % (sName,));
183 reporter
[all...]
/vbox/src/VBox/ValidationKit/testdriver/
H A Dvboxinstaller.py52 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 Dbase.py51 from testdriver import reporter; namespace
104 if sLocalAlternative is None or not reporter.isLocal():
132 reporter.error('the value of env.var. "%s" is not a dir: "%s"' % (sVar, sVal));
137 reporter.error('makedirs failed on the value of env.var. "%s": "%s"' % (sVar, sVal));
141 if reporter.isLocal() and fLocalReq:
172 reporter.errorXcpt('gethostbyname(%s)' % (sName));
175 reporter.error('gethostbyname(%s) -> %s' % (sName, sIpAddr));
195 reporter.logXcpt('uPid=%s' % (uPid,));
215 reporter.logXcpt('uPid=%s' % (uPid,));
232 reporter
[all...]
H A Dwinbase.py44 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 Dvbox.py52 from testdriver import reporter; namespace
168 Returns the same a reporter.error().
174 reporter.error(sText);
175 return reporter.error(stringifyErrorInfo(oErrObj));
451 if not self.oVBoxMgr.xcptIsDeadInterface(): reporter.logXcpt();
452 else: reporter.log('threadForPassiveMode/%s: interface croaked (ignored)' % (self.sName,));
459 reporter.logXcpt();
487 reporter.errorXcpt('unregisterCallback failed on %s' % (self.oListener,));
494 reporter.log('unregisterListener failed on %s because of dead interface (%s)'
497 reporter
[all...]
H A Dvboxwrappers.py42 from testdriver import reporter; namespace
151 return reporter.errorXcpt('failed to open hd "%s"' % (sHdLocation));
160 except: return reporter.errorXcpt('deleteStorage() for disk %s failed' % (oIMedium,));
162 except: return reporter.errorXcpt();
255 reporter.logXcpt();
266 reporter.logXcpt(self.sName);
278 reporter.errorXcpt(self.sName);
289 reporter.logXcpt(self.sName);
304 reporter.errorXcpt(self.sName);
312 reporter
[all...]
H A Dtxsclient.py46 from testdriver import reporter; namespace
72 reporter.errorXcpt('getSZ(,%u)' % (off));
101 reporter.error("invalid opcode length: %s" % (len(sOpcode)));
105 reporter.error("invalid opcode char #%u: %s" % (i, sOpcode));
109 reporter.error("invalid opcode char #%u: %s" % (i, sOpcode));
237 reporter.fatal('sendMsgInt: invalid opcode length: %d (\"%s\")' % (len(sOpcode), sOpcode));
241 reporter.fatal('sendMsgInt: invalid opcode encoding: \"%s\"' % (sOpcode));
262 reporter.fatalXcpt('sendMsgInt: packing problem...');
272 reporter.log2('sendMsgInt: op=%s len=%d to=%d' % (sOpcode, len(abMsg), cMsTimeout));
293 reporter
[all...]
/vbox/src/VBox/ValidationKit/tests/shutdown/
H A DtdGuestOsShutdown1.py47 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 DtdStorageBenchmark1.py46 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...]
H A DtdStorageStress1.py43 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 DtdStorageSnapshotMerging1.py45 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...]
/vbox/src/VBox/ValidationKit/tests/cpu/
H A DtdCpuPae1.py47 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/usb/
H A DtdUsb1.py45 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/unittests/
H A DtdUnitTest1.py50 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...]
/vbox/src/VBox/ValidationKit/tests/installation/
H A DtdGuestOsInstTest1.py47 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...]
H A DtdGuestOsInstOs2.py47 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...]
/vbox/src/VBox/ValidationKit/tests/network/
H A DtdNetBenchmark1.py45 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...]

Completed in 1430 milliseconds

12