Skip to content

Commit

Permalink
test: Ignore run-make tests that don't work on BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
brson authored and alexcrichton committed Apr 6, 2014
1 parent 0e85e59 commit e9108cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/run-make/c-link-to-rust-staticlib/Makefile
Expand Up @@ -4,10 +4,17 @@ 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)
$(CC) bar.c -lfoo -o $(call RUN,bar) $(EXTRAFLAGS) -lstdc++
$(call RUN,bar)
rm $(call STATICLIB,foo*)
$(call RUN,bar)

else
all:

endif
6 changes: 6 additions & 0 deletions src/test/run-make/dep-info-custom/Makefile
@@ -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
Expand All @@ -10,3 +12,7 @@ all:
pwd
$(MAKE) -drf Makefile.foo
rm $(TMPDIR)/done && exit 1 || exit 0
else
all:

endif

0 comments on commit e9108cd

Please sign in to comment.