aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2014-05-10 10:59:14 +0100
committerMartin Pärtel <martin.partel@gmail.com>2014-05-10 10:59:14 +0100
commit5a0f88984e9249b853b5bd19d34ff0b2534f2b9a (patch)
tree99c7888ec946b1c1c811f12ce96c2ea1bada7dda /tests
parent799cef8d964f60470cdfd6c9f816d2383a1817fd (diff)
parente130b9acd6d2a7d2aa389cc982717edfe9fb56aa (diff)
downloadbindfs-5a0f88984e9249b853b5bd19d34ff0b2534f2b9a.tar.gz
Merge pull request #14 from hanxue/remove-osx-utimens-dep
Remove fuse utimens dependency for OSX
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8fc80ea..53a9081 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,7 +1,13 @@
-noinst_PROGRAMS = readdir_inode utimens_nofollow
-readdir_inode_SOURCES = readdir_inode.c
-utimens_nofollow_SOURCES = utimens_nofollow.c
+UNAME_S := $(shell uname -s)
+if BUILD_OS_IS_DARWIN
+ noinst_PROGRAMS = readdir_inode
+ readdir_inode_SOURCES = readdir_inode.c
+else
+ noinst_PROGRAMS = readdir_inode utimens_nofollow
+ readdir_inode_SOURCES = readdir_inode.c
+ utimens_nofollow_SOURCES = utimens_nofollow.c
+endif
TESTS = test_bindfs.rb
SUBDIRS = internals