mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 08:55:50 +01:00
Updating tests in the style of https://github.com/carbon-language/carbon-lang/pull/5455. Notable things for builtins: - #4748 disabled semir output in int tests, but not other tests. After discussion with zygoloid, adding ranges just for runtime calls that seem significant. The rest can rely on type checking to demonstrate correctness. - Fixes cases of things like `RuntimeCallIsValidBadReturnType` using the wrong number of args, and being invalid as a result. - Splits out the too few, too many, and bad return type tests -- I think this helps highlight where the above is an issue. - Expands use of `library "[[@TEST_NAME]]";` in tests where package names were previously in use. Ranges tests were already updated for splits, so not really touching that. Also, the prelude interaction gets a little gnarly because these also partly test prelude bits. --------- Co-authored-by: David Blaikie <dblaikie@gmail.com>