mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
this fixes the test failures on freebsd
This commit is contained in:
parent
50df2a09b8
commit
b77985fcfb
@ -1702,8 +1702,11 @@ fn run_codegen_test(config: &Config, props: &TestProps, testfile: &Path) {
|
||||
}
|
||||
|
||||
fn charset() -> &'static str {
|
||||
if cfg!(any(target_os = "bitrig", target_os = "freebsd")) {
|
||||
// FreeBSD 10.1 defaults to GDB 6.1.1 which doesn't support "auto" charset
|
||||
if cfg!(target_os = "bitrig") {
|
||||
"auto"
|
||||
} else if cfg!(target_os = "freebsd") {
|
||||
"ISO-8859-1"
|
||||
} else {
|
||||
"UTF-8"
|
||||
}
|
||||
|
@ -1,8 +1,14 @@
|
||||
-include ../tools.mk
|
||||
|
||||
# FIXME: ignore freebsd
|
||||
# This is a basic test of LLVM ExecutionEngine functionality using compiled
|
||||
# Rust code built using the `rustc` crate.
|
||||
|
||||
ifneq ($(shell uname),FreeBSD)
|
||||
all:
|
||||
$(RUSTC) test.rs
|
||||
$(call RUN,test $(RUSTC))
|
||||
else
|
||||
all:
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user