aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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