upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSuarezPM <SuarezPM@users.noreply.github.com>2026-11-22 15:58:29 -0300
committerSuarezPM <SuarezPM@users.noreply.github.com>2026-11-22 15:58:29 -0300
commitefcd434cfcbc3780d5de25a5e18ee4823dc2636c (patch)
treec47c7232924b53255d1673569cb3b1e3bf26da44 /docs
parentbd6e3afa68a6c4bdfb9dc8ac76a941830275f2f8 (diff)
boot: keep the first D3D12 call from a PowerShell 5.1 log
PowerShell 5.1 wraps the first stderr line of a native program in an error record: `d3d12_test.exe : [d3d12-trace] #1 ...`. The anchored tag match counted that line as noise, so the summary lost call #1 and still exited 0. The tag may now follow a `<name> : ` prefix; a fixture and a dedicated test keep it. docs/boot.md says the prefix is accepted and that the BOM from Out-File -Encoding utf8 is stripped.
Diffstat (limited to 'docs')
-rw-r--r--docs/boot.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/boot.md b/docs/boot.md
index 8a2869d71..4738b9a73 100644
--- a/docs/boot.md
+++ b/docs/boot.md
@@ -42,7 +42,8 @@ python -I tools\boot_trace.py $trace --d3d12 $log
42 42
43Windows PowerShell 5.1 writes `2>` as UTF-16LE; the tool names that file instead of parsing it. Use 43Windows PowerShell 5.1 writes `2>` as UTF-16LE; the tool names that file instead of parsing it. Use
44`2>&1 | Out-File -Encoding utf8 $log` there, or PowerShell 7, which defaults to UTF-8. The tool strips the BOM that 44`2>&1 | Out-File -Encoding utf8 $log` there, or PowerShell 7, which defaults to UTF-8. The tool strips the BOM that
455.1 writes with `utf8`. 455.1 writes with `utf8`, and accepts the `program.exe : ` prefix 5.1 puts in front of the first stderr line when it
46turns it into an error record, so that call is not lost. `cmd /c` writes the lines unchanged.
46 47
47Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan): 48Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan):
48 49