提交 22b571d6 编写于 作者: F Felix S. Klock II

Add explcit `--error-format` options to tests of print-fuel to sidestep...

Add explcit `--error-format` options to tests of print-fuel to sidestep compiletests presumption of JSON.

As a driveby, rename the stdout files to stderr, which should have been part of the earlier commit.
上级 a7bea732
......@@ -12,7 +12,8 @@
use std::mem::size_of;
// compile-flags: -Z fuel=foo=0
// (#55495: The --error-format is to sidestep an issue in our test harness)
// compile-flags: --error-format human -Z fuel=foo=0
struct S1(u8, u16, u8);
struct S2(u8, u16, u8);
......
......@@ -12,7 +12,8 @@
use std::mem::size_of;
// compile-flags: -Z fuel=foo=1
// (#55495: The --error-format is to sidestep an issue in our test harness)
// compile-flags: --error-format human -Z fuel=foo=1
struct S1(u8, u16, u8);
struct S2(u8, u16, u8);
......
......@@ -11,7 +11,8 @@
#![crate_name="foo"]
#![allow(dead_code)]
// compile-flags: -Z print-fuel=foo
// (#55495: The --error-format is to sidestep an issue in our test harness)
// compile-flags: --error-format human -Z print-fuel=foo
// compile-pass
struct S1(u8, u16, u8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册