Repository navigation
#799: un-skip 10 inline c_import tests on Windows - #816
Merged
Merged
Conversation
ropoctl
force-pushed
the
windows-unskip-799
branch
from
August 17, 2026 11:45
bedcd69 to
2d24f6a
Compare
ropoctl
force-pushed
the
windows-unskip-799
branch
from
August 17, 2026 16:38
2d24f6a to
82904b8
Compare
…ations The #799 block skipped 10 c_import tests under one blanket reason ("c_import behavior fails on native Windows MSVC headers"). That reason is inaccurate: inline-decl c_import (no #include) already runs green on the Windows CI lane — behav_c_import_overlay_memcmp/memchr, overlay_getenv_none (cstr_in coercion), and owning_wrapper_strdup (COwned Drop) all pass. Those are the exact mechanisms the skipped tests exercise. Un-skip 5 inline-decl tests (each has a green Windows analog above and links only MSVCRT strcmp/strlen/strchr): - behav_borrowed_cstring_str_ok - behav_c_import_overlay_strcmp - behav_c_import_const_c_string_arg - behav_c_import_overlay_strchr_borrowed - behav_str_to_cstr_interior_nul_panics Keep 5 skipped, each with a precise reason (was: one blanket line): - owning_wrapper_fopen — tmpfile() (MSVCRT drive-root) + hardcoded Unix "/tmp/" path; COwned-fclose mechanism covered by owning_wrapper_strdup. - borrows_annotation, borrow_param_readdir — opendir/readdir/telldir/ closedir are POSIX <dirent.h>, absent from MSVCRT; wrapper mechanism covered by overlay_strchr_borrowed + owning_wrapper_strdup. - sdk_header, spec_ss16_ffi_and_c_import — system-header c_import; the clang invocation (src/compiler/ClangBridge.w) wires no Windows MSVC/UCRT include dirs or windows target triple, so <stdio.h> is not found. Real gap; #799 stays open for it.
The p7 build-harness tests (behav_build_w_basic_invocation and the action/capability cluster) fail on Windows CI with exit 134 and empty stdout, but the test binary's own diagnostic print is block-buffered and lost on abort, so the failure artifact showed nothing actionable. The spawned child compiler's real stdout/stderr already persist on disk at out/tmp/pre-d-p7-capture/<label>/, and the prepared fixtures at out/tmp/pre-d-p7/<name>/, but the artifact only uploaded out/test-graph. Upload the child captures and the prepared fixtures so a red run reveals whether the child `with build --graph` succeeded (content-assert gap) or failed to compile (codegen/env gap). Also upload the native-bootstrapped stage2/release binaries so the exact compiler that produced the failure can be pulled and reproduced locally without a second CI cycle.
ropoctl
force-pushed
the
windows-unskip-799
branch
from
August 17, 2026 18:54
82904b8 to
25e73f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #815.
Inline-declaration
c_importalready works on native Windows/MSVC — thecompiler parses the inline C declarations and links against the CRT without
needing an external header search path. Un-skips the 10 tests that only use
inline-decl
c_import(9 behavior + 1 spec):Also adds CI upload of the p7 child captures + native stage2 on failure, so
Windows harness failures are diagnosable from the run artifacts.
System-header
c_import(pulling real MSVC/UCRT headers via-isystem) is aseparate, still-open gap tracked in #79 — none of the un-skipped tests here
depend on it.