| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -139,9 +139,6 @@ private command doRun pInfo | |||
| 139 | 139 | put tLogForWriting into url ("binfile:" & tLogFilename) | |
| 140 | 140 | ||
| 141 | 141 | if TesterTapGetWorstResult(tAnalysis) is "FAIL" then | |
| 142 | - if $V is not empty then | ||
| 143 | - write tLogForWriting to stdout | ||
| 144 | - end if | ||
| 145 | 142 | quit 1 | |
| 146 | 143 | end if | |
| 147 | 144 | end doRun | |
@@ -325,5 +322,15 @@ command TestRunnerProcessOutput pScriptfile, pCommand, pOutput | |||
| 325 | 322 | ||
| 326 | 323 | TesterLogSummaryLine tTapResults, (TesterGetPrettyTestName(pScriptFile) & ":" && pCommand) | |
| 327 | 324 | ||
| 325 | + if TesterTapGetWorstResult(tTapResults) is "FAIL" then | ||
| 326 | + if $V is not empty then | ||
| 327 | + put textEncode(pOutput, "utf8") into pOutput | ||
| 328 | + if the platform is "win32" then | ||
| 329 | + replace return with numToChar(13) & numToChar(10) in pOutput | ||
| 330 | + end if | ||
| 331 | + write pOutput to stderr | ||
| 332 | + end if | ||
| 333 | + end if | ||
| 334 | + | ||
| 328 | 335 | return tTapResults | |
| 329 | 336 | end TestRunnerProcessOutput | |
| Back | FazBrowse Home | New Git URL |
0 commit comments