test: Ignore run-make tests that don't work on BSD

This commit is contained in:
Brian Anderson 2014-02-28 19:32:43 -08:00 committed by Alex Crichton
parent 0e85e599db
commit e9108cd7b8
2 changed files with 13 additions and 0 deletions

View file

@ -4,6 +4,8 @@ ifneq ($(shell uname),Darwin)
EXTRAFLAGS := -lm -lrt -ldl -lpthread
endif
# FIXME
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) foo.rs
ln -s $(call STATICLIB,foo-*) $(call STATICLIB,foo)
@ -11,3 +13,8 @@ all:
$(call RUN,bar)
rm $(call STATICLIB,foo*)
$(call RUN,bar)
else
all:
endif

View file

@ -1,5 +1,7 @@
-include ../tools.mk
# FIXME
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) --dep-info $(TMPDIR)/custom-deps-file.d --crate-type=lib lib.rs
sleep 1
@ -10,3 +12,7 @@ all:
pwd
$(MAKE) -drf Makefile.foo
rm $(TMPDIR)/done && exit 1 || exit 0
else
all:
endif