aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLee Hanxue <hanxue.developer@gmail.com>2014-05-09 11:25:43 +0800
committerLee Hanxue <hanxue.developer@gmail.com>2014-05-09 11:35:38 +0800
commite130b9acd6d2a7d2aa389cc982717edfe9fb56aa (patch)
tree99c7888ec946b1c1c811f12ce96c2ea1bada7dda /tests
parent799cef8d964f60470cdfd6c9f816d2383a1817fd (diff)
downloadbindfs-e130b9acd6d2a7d2aa389cc982717edfe9fb56aa.tar.gz
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