| ... | ... | @@ -942,6 +942,15 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 942 | 942 | if (test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt")) |
| 943 | 943 | continue; |
| 944 | 944 | |
| 945 | // TODO get compiler-rt tests passing for wasm32-wasi |
| 946 | // currently causes "LLVM ERROR: Unable to expand fixed point multiplication." |
| 947 | if (test_target.target.getCpuArch() == .wasm32 and |
| 948 | test_target.target.getOsTag() == .wasi and |
| 949 | mem.eql(u8, options.name, "compiler-rt")) |
| 950 | { |
| 951 | continue; |
| 952 | } |
| 953 | |
| 945 | 954 | // TODO get universal-libc tests passing for self-hosted backends. |
| 946 | 955 | if (test_target.use_llvm == false and mem.eql(u8, options.name, "universal-libc")) |
| 947 | 956 | continue; |
| ... | ... | @@ -950,6 +959,13 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 950 | 959 | if (test_target.use_llvm == false and mem.eql(u8, options.name, "std")) |
| 951 | 960 | continue; |
| 952 | 961 | |
| 962 | // TODO get std lib tests passing for the C backend |
| 963 | if (test_target.target.ofmt == std.Target.ObjectFormat.c and |
| 964 | mem.eql(u8, options.name, "std")) |
| 965 | { |
| 966 | continue; |
| 967 | } |
| 968 | |
| 953 | 969 | const want_this_mode = for (options.optimize_modes) |m| { |
| 954 | 970 | if (m == test_target.optimize_mode) break true; |
| 955 | 971 | } else false; |