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:
@@ -145,13 +145,3 @@ fn enchexvec(input: str, expect: str) void = {
|
||||
assert(!(base32.decodedsize(8) != 5));
|
||||
assert(!(base32.decodedsize(16) != 10));
|
||||
};
|
||||
|
||||
export fn main() i32 = {
|
||||
rfc4648_std();
|
||||
rfc4648_decode();
|
||||
rfc4648_hex();
|
||||
roundtrip_all_quintets();
|
||||
invalid_inputs();
|
||||
sizes();
|
||||
return 0;
|
||||
};
|
||||
|
||||
@@ -188,13 +188,3 @@ fn inval_check(enc: *base64.encoding, encoded: str) void = {
|
||||
case let e: errors.invalid => abort();
|
||||
};
|
||||
};
|
||||
|
||||
export fn main() i32 = {
|
||||
rfc4648_std();
|
||||
rfc4648_url();
|
||||
urlsafe_distinct();
|
||||
decode_invalid();
|
||||
sizes();
|
||||
roundtrip_all_bytes();
|
||||
return 0;
|
||||
};
|
||||
|
||||
@@ -154,20 +154,3 @@ fn cafebabe() [8]u8 = {
|
||||
case let e: errors.invalid => abort();
|
||||
};
|
||||
};
|
||||
|
||||
export fn main() i32 = {
|
||||
encodestr_basic();
|
||||
encodestr_zero();
|
||||
encodestr_ff();
|
||||
encodestr_empty();
|
||||
encode_stream();
|
||||
decodestr_lower();
|
||||
decodestr_upper();
|
||||
decodestr_mixed();
|
||||
decodestr_empty();
|
||||
decodestr_odd();
|
||||
decodestr_bad();
|
||||
decodestr_bad_mid();
|
||||
roundtrip_all_bytes();
|
||||
return 0;
|
||||
};
|
||||
|
||||
@@ -614,43 +614,3 @@ fn streq(a: str, b: str) bool = {
|
||||
i += 1;
|
||||
};
|
||||
};
|
||||
|
||||
export fn main() i32 = {
|
||||
runesz_ranges();
|
||||
utf8sz_classify();
|
||||
encode_ascii();
|
||||
encode_two_byte();
|
||||
encode_three_byte();
|
||||
encode_four_byte();
|
||||
decode_one_byte();
|
||||
decode_two_byte();
|
||||
decode_three_byte();
|
||||
decode_four_byte();
|
||||
decode_surrogate();
|
||||
decode_overlong();
|
||||
decode_out_of_range();
|
||||
decode_bad_continuation();
|
||||
decode_max_in_range();
|
||||
decode_truncated();
|
||||
decode_done();
|
||||
validate_mixed_ok();
|
||||
validate_malformed();
|
||||
validate_empty_ok();
|
||||
roundtrip();
|
||||
prev_done_at_start();
|
||||
prev_one_byte();
|
||||
prev_two_byte();
|
||||
prev_three_byte();
|
||||
prev_four_byte();
|
||||
prev_mixed_roundtrip();
|
||||
prev_continuation_only_more();
|
||||
prev_incomplete_invalid();
|
||||
prev_surrogate_invalid();
|
||||
prev_overlong_invalid();
|
||||
prev_extracont_invalid();
|
||||
prev_max_in_range();
|
||||
prev_min_out_of_range();
|
||||
remaining_slice_position();
|
||||
strerror_cases();
|
||||
return 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user