authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-06 11:12:54+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-15 20:25:26+02:00
log6302a90cbf9978766757e11808e7764d5c4611b1
treed432cb3f70c35982855570d15e74a75e48841fc5
parent0941364d70d14856c9f313f819458efd0add7c2a
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Add riscv(32,64)-linux-(none,musl) with soft float to module tests.


1 files changed, 29 insertions(+), 1 deletions(-)

test/tests.zig+29-1
......@@ -579,6 +579,20 @@ const test_targets = blk: {
579579 .link_libc = true,
580580 },
581581
582 .{
583 .target = std.Target.Query.parse(.{
584 .arch_os_abi = "riscv32-linux-none",
585 .cpu_features = "baseline-d-f",
586 }) catch unreachable,
587 },
588 .{
589 .target = std.Target.Query.parse(.{
590 .arch_os_abi = "riscv32-linux-musl",
591 .cpu_features = "baseline-d-f",
592 }) catch unreachable,
593 .link_libc = true,
594 },
595
582596 .{
583597 .target = .{
584598 .cpu_arch = .riscv32,
......@@ -603,6 +617,20 @@ const test_targets = blk: {
603617 .link_libc = true,
604618 },
605619
620 .{
621 .target = std.Target.Query.parse(.{
622 .arch_os_abi = "riscv64-linux-none",
623 .cpu_features = "baseline-d-f",
624 }) catch unreachable,
625 },
626 .{
627 .target = std.Target.Query.parse(.{
628 .arch_os_abi = "riscv64-linux-musl",
629 .cpu_features = "baseline-d-f",
630 }) catch unreachable,
631 .link_libc = true,
632 },
633
606634 .{
607635 .target = .{
608636 .cpu_arch = .riscv64,
......@@ -631,7 +659,7 @@ const test_targets = blk: {
631659 .target = std.Target.Query.parse(.{
632660 .arch_os_abi = "riscv64-linux-musl",
633661 .cpu_features = "baseline+v+zbb",
634 }) catch @panic("OOM"),
662 }) catch unreachable,
635663 .use_llvm = false,
636664 .use_lld = false,
637665 },