From caa62910db3adfb83aef58d069e5d2b0cf505187 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 1 Aug 2021 22:40:35 +0200 Subject: [PATCH] Relocate tests/ -> test/ For my own sanity, test/ is used in every other project of mine. Signed-off-by: Joachim Wiberg --- Makefile.am | 4 ++-- configure.ac | 2 +- {tests => test}/.gitignore | 0 {tests => test}/Makefile.am | 0 {tests => test}/active.c | 0 {tests => test}/api.c | 0 {tests => test}/check.h | 6 +++--- {tests => test}/complete.c | 0 {tests => test}/cronrun.c | 0 {tests => test}/event.c | 0 {tests => test}/signal.c | 0 {tests => test}/timer.c | 0 12 files changed, 6 insertions(+), 6 deletions(-) rename {tests => test}/.gitignore (100%) rename {tests => test}/Makefile.am (100%) rename {tests => test}/active.c (100%) rename {tests => test}/api.c (100%) rename {tests => test}/check.h (95%) rename {tests => test}/complete.c (100%) rename {tests => test}/cronrun.c (100%) rename {tests => test}/event.c (100%) rename {tests => test}/signal.c (100%) rename {tests => test}/timer.c (100%) diff --git a/Makefile.am b/Makefile.am index 440aaa6..351d6af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src tests -DIST_SUBDIRS = doc src examples tests +SUBDIRS = src test +DIST_SUBDIRS = doc src examples test doc_DATA = README.md LICENSE EXTRA_DIST = README.md LICENSE AUTHORS ChangeLog.md diff --git a/configure.ac b/configure.ac index 4367749..786f502 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR(src/uev.c) AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES([Makefile doc/Makefile doc/Doxyfile examples/Makefile - src/libuev.pc src/Makefile tests/Makefile]) + src/libuev.pc src/Makefile test/Makefile]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC diff --git a/tests/.gitignore b/test/.gitignore similarity index 100% rename from tests/.gitignore rename to test/.gitignore diff --git a/tests/Makefile.am b/test/Makefile.am similarity index 100% rename from tests/Makefile.am rename to test/Makefile.am diff --git a/tests/active.c b/test/active.c similarity index 100% rename from tests/active.c rename to test/active.c diff --git a/tests/api.c b/test/api.c similarity index 100% rename from tests/api.c rename to test/api.c diff --git a/tests/check.h b/test/check.h similarity index 95% rename from tests/check.h rename to test/check.h index 4339919..aca866f 100644 --- a/tests/check.h +++ b/test/check.h @@ -1,5 +1,5 @@ -#ifndef UEV_TESTS_CHECK_H_ -#define UEV_TESTS_CHECK_H_ +#ifndef UEV_TEST_CHECK_H_ +#define UEV_TEST_CHECK_H_ #include #include @@ -76,4 +76,4 @@ static inline char *timespec2str(struct timespec *ts, char *buf, size_t len) return buf; } -#endif /* UEV_TESTS_CHECK_H_ */ +#endif /* UEV_TEST_CHECK_H_ */ diff --git a/tests/complete.c b/test/complete.c similarity index 100% rename from tests/complete.c rename to test/complete.c diff --git a/tests/cronrun.c b/test/cronrun.c similarity index 100% rename from tests/cronrun.c rename to test/cronrun.c diff --git a/tests/event.c b/test/event.c similarity index 100% rename from tests/event.c rename to test/event.c diff --git a/tests/signal.c b/test/signal.c similarity index 100% rename from tests/signal.c rename to test/signal.c diff --git a/tests/timer.c b/test/timer.c similarity index 100% rename from tests/timer.c rename to test/timer.c