diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-19 19:25:14 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-19 19:25:14 -0300 |
commit | a50cdda0f68cee1f2adf8480b163911eb83298c2 (patch) | |
tree | ee2440a014ed6cbd54daa7a72ed956785cbea6c7 | |
parent | 37444105873802ac3fb70ac0cd81269361e5e559 (diff) | |
download | blogc-a50cdda0f68cee1f2adf8480b163911eb83298c2.tar.gz blogc-a50cdda0f68cee1f2adf8480b163911eb83298c2.tar.bz2 blogc-a50cdda0f68cee1f2adf8480b163911eb83298c2.zip |
build: mark tests as disabled by default
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | tests/check_loader.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cd2bc89..277a479 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ AM_CONDITIONAL([USE_VALGRIND], [test "x$have_valgrind" = "xyes"]) VALGRIND="$ac_cv_path_valgrind" AC_SUBST(VALGRIND) +TESTS="disabled" AC_ARG_ENABLE([tests], AS_HELP_STRING([--disable-tests], [disable unit tests, ignoring presence of cmocka])) AS_IF([test "x$enable_tests" != "xno"], [ @@ -43,7 +44,6 @@ AS_IF([test "x$enable_tests" != "xno"], [ TESTS="enabled" have_cmocka=yes ], [ - TESTS="disabled" have_cmocka=no ]) ]) diff --git a/tests/check_loader.c b/tests/check_loader.c index 08c5acc..1961180 100644 --- a/tests/check_loader.c +++ b/tests/check_loader.c @@ -19,6 +19,9 @@ #include "../src/utils/utils.h" +// FIXME: test the file functions + + static void test_get_filename(void **state) { |