Revert "update runtime safety test case - unsigned-signed vector cast"

This reverts commit 663f0b399c.

The behavior appears to be inconsistent between running locally and on
the CI.

I suspect it could be based on what vector CPU features are available.
master
Andrew Kelley 2020-11-06 18:58:10 -07:00
parent 663f0b399c
commit 67ea47babd
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
\\const std = @import("std"); \\const std = @import("std");
\\const V = @import("std").meta.Vector; \\const V = @import("std").meta.Vector;
\\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn { \\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn {
\\ if (std.mem.eql(u8, message, "integer cast truncated bits")) { \\ if (std.mem.eql(u8, message, "attempt to cast negative value to unsigned integer")) {
\\ std.process.exit(126); // good \\ std.process.exit(126); // good
\\ } \\ }
\\ std.process.exit(0); // test failed \\ std.process.exit(0); // test failed