update test expectations

master
Andrew Kelley 2020-02-26 11:59:23 -05:00
parent f33bf48af7
commit e4180de2e9
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
2 changed files with 6 additions and 9 deletions

View File

@ -282,16 +282,16 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
\\source.zig:10:8: [address] in main (test) \\source.zig:10:8: [address] in main (test)
\\ foo(); \\ foo();
\\ ^ \\ ^
\\start.zig:247:29: [address] in std.start.posixCallMainAndExit (test) \\start.zig:253:29: [address] in std.start.posixCallMainAndExit (test)
\\ return root.main(); \\ return root.main();
\\ ^ \\ ^
\\start.zig:114:5: [address] in std.start._start (test) \\start.zig:120:5: [address] in std.start._start (test)
\\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{}); \\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
\\ ^ \\ ^
\\ \\
, ,
// release-safe // release-safe
\\start.zig:114:5: [address] in std.start._start (test) \\start.zig:120:5: [address] in std.start._start (test)
\\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{}); \\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
\\ ^ \\ ^
\\ \\

View File

@ -177,9 +177,8 @@ const test_targets = blk: {
TestTarget{ TestTarget{
.target = Target{ .target = Target{
.Cross = CrossTarget{ .Cross = CrossTarget{
.cpu = Target.Cpu.baseline(.riscv64),
.os = .linux, .os = .linux,
.arch = .riscv64,
.cpu_features = Target.Arch.riscv64.getBaselineCpuFeatures(),
.abi = .none, .abi = .none,
}, },
}, },
@ -189,9 +188,8 @@ const test_targets = blk: {
//TestTarget{ //TestTarget{
// .target = Target{ // .target = Target{
// .Cross = CrossTarget{ // .Cross = CrossTarget{
// .cpu = Target.Cpu.baseline(.riscv64),
// .os = .linux, // .os = .linux,
// .arch = .riscv64,
// .cpu_features = Target.Arch.riscv64.getBaselineCpuFeatures(),
// .abi = .musl, // .abi = .musl,
// }, // },
// }, // },
@ -202,9 +200,8 @@ const test_targets = blk: {
//TestTarget{ //TestTarget{
// .target = Target{ // .target = Target{
// .Cross = CrossTarget{ // .Cross = CrossTarget{
// .cpu = Target.Cpu.baseline(.riscv64),
// .os = .linux, // .os = .linux,
// .arch = .riscv64,
// .cpu_features = Target.Arch.riscv64.getBaselineCpuFeatures(),
// .abi = .gnu, // .abi = .gnu,
// }, // },
// }, // },