Skip to content

Commit

Permalink
Fix a few more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Oct 8, 2024
1 parent 1117c50 commit 8da1265
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ mod tests {
"thumbv7-unknown-linux-gnueabihf",
"thumbv7-unknown-linux-musleabihf",
"x86_64-rumprun-netbsd",
"x86_64-unknown-linux",
];

for target in targets {
Expand Down
10 changes: 5 additions & 5 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn gnu_opt_level_s() {
fn gnu_debug() {
let test = Test::gnu();
test.gcc()
.target("x86_64-unknown-linux")
.target("x86_64-unknown-linux-none")
.debug(true)
.file("foo.c")
.compile("foo");
Expand All @@ -78,7 +78,7 @@ fn gnu_debug() {
fn gnu_debug_fp_auto() {
let test = Test::gnu();
test.gcc()
.target("x86_64-unknown-linux")
.target("x86_64-unknown-linux-none")
.debug(true)
.file("foo.c")
.compile("foo");
Expand All @@ -90,7 +90,7 @@ fn gnu_debug_fp_auto() {
fn gnu_debug_fp() {
let test = Test::gnu();
test.gcc()
.target("x86_64-unknown-linux")
.target("x86_64-unknown-linux-none")
.debug(true)
.file("foo.c")
.compile("foo");
Expand All @@ -104,7 +104,7 @@ fn gnu_debug_nofp() {

let test = Test::gnu();
test.gcc()
.target("x86_64-unknown-linux")
.target("x86_64-unknown-linux-none")
.debug(true)
.force_frame_pointer(false)
.file("foo.c")
Expand All @@ -114,7 +114,7 @@ fn gnu_debug_nofp() {

let test = Test::gnu();
test.gcc()
.target("x86_64-unknown-linux")
.target("x86_64-unknown-linux-none")
.force_frame_pointer(false)
.debug(true)
.file("foo.c")
Expand Down

0 comments on commit 8da1265

Please sign in to comment.