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:
@@ -383,52 +383,3 @@ import types;
|
||||
assert(!(types.U64_MIN != 0u64));
|
||||
assert(!(types.RUNE_MIN != '\0'));
|
||||
};
|
||||
|
||||
export fn main() i32 = {
|
||||
test_addi8();
|
||||
test_addi16();
|
||||
test_addi32();
|
||||
test_addi64();
|
||||
test_addu8();
|
||||
test_addu16();
|
||||
test_addu32();
|
||||
test_addu64();
|
||||
test_subi8();
|
||||
test_subi16();
|
||||
test_subi32();
|
||||
test_subi64();
|
||||
test_subu8();
|
||||
test_subu16();
|
||||
test_subu32();
|
||||
test_subu64();
|
||||
test_muli8();
|
||||
test_muli16();
|
||||
test_muli32();
|
||||
test_mulu8();
|
||||
test_mulu16();
|
||||
test_mulu32();
|
||||
test_sat_addi8();
|
||||
test_sat_addi16();
|
||||
test_sat_addi32();
|
||||
test_sat_addi64();
|
||||
test_sat_addu8();
|
||||
test_sat_addu16();
|
||||
test_sat_addu32();
|
||||
test_sat_addu64();
|
||||
test_sat_subi8();
|
||||
test_sat_subi16();
|
||||
test_sat_subi32();
|
||||
test_sat_subi64();
|
||||
test_sat_subu8();
|
||||
test_sat_subu16();
|
||||
test_sat_subu32();
|
||||
test_sat_subu64();
|
||||
test_sat_muli8();
|
||||
test_sat_muli16();
|
||||
test_sat_muli32();
|
||||
test_sat_mulu8();
|
||||
test_sat_mulu16();
|
||||
test_sat_mulu32();
|
||||
test_types_min();
|
||||
return 0;
|
||||
};
|
||||
|
||||
@@ -52,12 +52,3 @@ import random;
|
||||
i += 1;
|
||||
};
|
||||
};
|
||||
|
||||
export fn main() i32 = {
|
||||
seq();
|
||||
deterministic();
|
||||
u32n_inrange();
|
||||
u64n_pow2();
|
||||
u64n_nonpow2();
|
||||
return 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user