summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorvivek <vivek.ellur@samsung.com>2015-03-06 16:19:13 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-06 20:19:21 +0100
commita6b5ee94f0b4f01f88a038574ee75ed8ab98694b (patch)
tree5e1295abd2209cb8a89ecd8b977876e179ddbc46 /configure.ac
parent5b274257822c706608eb8d8a325b71e5727e4e94 (diff)
eina: add test cases for eina_xattr functions.
Summary: Add eina_test_xattr.c file for testing eina xattr functions and added test cases for eina_xattr_set and eina_xattr_fd_set functions. Those tests need a directory where the underlying file system allow xattr. Usually /tmp is running on tmpfs that doesn't support today xattr. This test won't be run if we are not provided with an existing proper directory. Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2090 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 90a5c6d..82da49d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -854,6 +854,9 @@ AC_ARG_ENABLE([magic-debug],
854 854
855EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"]) 855EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
856 856
857AC_ARG_WITH([xattr-tests-path],
858 [AS_HELP_STRING([--with-xattr-tests-path=DIR],[path of xattr enabled directory to create test files])],[XATTR_TEST_DIR=${withval}][AC_DEFINE_UNQUOTED([XATTR_TEST_DIR],["$withval"], [xattr enabled directory])])
859
857### Checks for programs 860### Checks for programs
858 861
859### Checks for libraries 862### Checks for libraries