Changeset 103337 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Feb 13, 2024 3:55:27 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/remoteexecutor.py
r103335 r103337 200 200 fRc, sOutput, sError = self._execLocallyOrThroughTxs(sBinary, asArgs, sInput, cMsTimeout); 201 201 # If verbose logging is enabled and the process failed for whatever reason, log its output to the reporter. 202 fLog = False; 202 203 if not fRc \ 203 204 and reporter.getVerbosity() >= 2: # Verbose logging starts at level 2. 205 fLog = True; 206 elif reporter.getVerbosity() >= 3: 207 fLog = True; 208 209 if fLog: 204 210 asOutput = sOutput.splitlines(); 205 211 for sLine in asOutput: 206 reporter.log('%s: %s' % (sExec, sLine.encode(encoding = 'UTF-8', errors = 'strict'),)); 212 reporter.log('%s [stdout]: %s' % (sExec, sLine.encode(encoding = 'UTF-8', errors = 'strict'),)); 213 asError = sError.splitlines(); 214 for sLine in asError: 215 reporter.log('%s [stderr]: %s' % (sExec, sLine.encode(encoding = 'UTF-8', errors = 'strict'),)); 207 216 else: 208 217 fRc = False;
Note:
See TracChangeset
for help on using the changeset viewer.