Skip to content

Commit 8da1265

Browse files
committed
Fix a few more tests
1 parent 1117c50 commit 8da1265

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/target.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ mod tests {
169169
"thumbv7-unknown-linux-gnueabihf",
170170
"thumbv7-unknown-linux-musleabihf",
171171
"x86_64-rumprun-netbsd",
172+
"x86_64-unknown-linux",
172173
];
173174

174175
for target in targets {

tests/test.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn gnu_opt_level_s() {
5959
fn gnu_debug() {
6060
let test = Test::gnu();
6161
test.gcc()
62-
.target("x86_64-unknown-linux")
62+
.target("x86_64-unknown-linux-none")
6363
.debug(true)
6464
.file("foo.c")
6565
.compile("foo");
@@ -78,7 +78,7 @@ fn gnu_debug() {
7878
fn gnu_debug_fp_auto() {
7979
let test = Test::gnu();
8080
test.gcc()
81-
.target("x86_64-unknown-linux")
81+
.target("x86_64-unknown-linux-none")
8282
.debug(true)
8383
.file("foo.c")
8484
.compile("foo");
@@ -90,7 +90,7 @@ fn gnu_debug_fp_auto() {
9090
fn gnu_debug_fp() {
9191
let test = Test::gnu();
9292
test.gcc()
93-
.target("x86_64-unknown-linux")
93+
.target("x86_64-unknown-linux-none")
9494
.debug(true)
9595
.file("foo.c")
9696
.compile("foo");
@@ -104,7 +104,7 @@ fn gnu_debug_nofp() {
104104

105105
let test = Test::gnu();
106106
test.gcc()
107-
.target("x86_64-unknown-linux")
107+
.target("x86_64-unknown-linux-none")
108108
.debug(true)
109109
.force_frame_pointer(false)
110110
.file("foo.c")
@@ -114,7 +114,7 @@ fn gnu_debug_nofp() {
114114

115115
let test = Test::gnu();
116116
test.gcc()
117-
.target("x86_64-unknown-linux")
117+
.target("x86_64-unknown-linux-none")
118118
.force_frame_pointer(false)
119119
.debug(true)
120120
.file("foo.c")

0 commit comments

Comments
 (0)