ww: lib tests run via -T test mode; bare mains retired (closes @test conversion)
'ww test' gains the istest build path (-T injection in build_one/ buildone) and do_test/dotest accept -I, mirroring do_run - both twins. The 35 converted lib tests drop their interim bare mains (-T synthesizes the entry from @test fns and rejects a user main); their 35 C run-drivers flip 'ww run' -> 'ww test'; 989_lib_byteid compiles lib tests under -T (8 user-main probe fixtures stay non-T, gated on the fixture field). Abort-on-first-failure stands until the deferred record-and-continue harness lands with the multi-package arc.
This commit is contained in:
@@ -238,18 +238,3 @@ fn streq(a: str, b: str) bool = {
|
||||
// can assert WEXITSTATUS == 255 without the test process itself
|
||||
// terminating. lib/os doesn't ship process spawning yet; revisit
|
||||
// when that lands.
|
||||
|
||||
export fn main() i32 = {
|
||||
defaultwiredtoglobal();
|
||||
lprintlnbasic();
|
||||
lprintlnsingle();
|
||||
lprintlnempty();
|
||||
silentwritesnothing();
|
||||
setloggerswap();
|
||||
lprintflnbasic();
|
||||
printflnglobal();
|
||||
silentignoresprintfln();
|
||||
lprintflnindexed();
|
||||
lprintflnmods();
|
||||
return 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user