upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorNolan Cotter <186326284+NolanCotter@users.noreply.github.com>2026-11-22 20:39:59 -0700
committerNolan Cotter <186326284+NolanCotter@users.noreply.github.com>2026-11-22 20:39:59 -0700
commitfa5f26db8eafd2cc27f627b68c0a5a5949bcf2ff (patch)
treefc57e238be829295fc216dff89a6d93e64c16b50 /runtime/test/queue_proxy_test.cpp
parent9b693ecd8a2f90799f6c47f8f06cf062feb9820c (diff)
parent7b7d73f890f9fbbf5967bbb694390bbc99e33ba6 (diff)
Merge origin/main: DXGI device fields coexist with the console-ABI device state
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
-rw-r--r--runtime/test/queue_proxy_test.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/runtime/test/queue_proxy_test.cpp b/runtime/test/queue_proxy_test.cpp
index 2259cf5d3..75feecf15 100644
--- a/runtime/test/queue_proxy_test.cpp
+++ b/runtime/test/queue_proxy_test.cpp
@@ -1017,12 +1017,15 @@ int run_runner_child(const char* mode, unsigned long bytes) {
1017int check_child_runner() { 1017int check_child_runner() {
1018 const char* label = "child runner"; 1018 const char* label = "child runner";
1019 ChildResult report; 1019 ChildResult report;
1020 ChildRun run = run_self(L"--child-flood 0", 30000); 1020 ChildRun run;
1021 EXPECT(run.end == ChildEnd::exited && run.exit_code == 0 && parse_diff_report(run.tail, report)); 1021 // The first two successful starts and the first failed start make Windows load and cache their persistent process
1022 EXPECT(report.ran == 1 && report.hr == 0 && report.removed == 0 && report.validation == 0); 1022 // handles (on Windows 11 26200, a second CreateProcessW caches the HKCU root key and a failed CreateProcessW keeps
1023 // The first start and the first failed start make Windows load what it keeps for them (a failed CreateProcessW 1023 // 41-42 AppCompat/PCA handles; later starts add none). Warm up both before reading handles_before.
1024 // leaves 42 handles the first time on Windows 11 26200, none on every later one): both run once before the handle 1024 for (int warmup = 0; warmup < 2; ++warmup) {
1025 // count is taken, and every case after it must leave the count as it was. 1025 run = run_self(L"--child-flood 0", 30000);
1026 EXPECT(run.end == ChildEnd::exited && run.exit_code == 0 && parse_diff_report(run.tail, report));
1027 EXPECT(report.ran == 1 && report.hr == 0 && report.removed == 0 && report.validation == 0);
1028 }
1026 std::fprintf(stderr, "child runner: the next four errors are expected\n"); 1029 std::fprintf(stderr, "child runner: the next four errors are expected\n");
1027 const std::wstring missing = self_path() + L".missing.exe"; 1030 const std::wstring missing = self_path() + L".missing.exe";
1028 run = run_process(missing.c_str(), L"", 5000); 1031 run = run_process(missing.c_str(), L"", 5000);