From 03a29440efd863a749801d86bb48608252f53428 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 22 Nov 2016 01:06:48 +0100 Subject: [PATCH] Move signal test from examples/ --> tests/ Signed-off-by: Joachim Nilsson --- examples/Makefile.am | 2 +- tests/.gitignore | 3 ++- tests/Makefile.am | 1 + {examples => tests}/signal.c | 1 - 4 files changed, 4 insertions(+), 3 deletions(-) rename {examples => tests}/signal.c (99%) diff --git a/examples/Makefile.am b/examples/Makefile.am index eaad9ca..b02eaec 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,4 @@ -noinst_PROGRAMS = signal test joystick cronrun +noinst_PROGRAMS = test joystick cronrun AM_CPPFLAGS = -I$(top_srcdir) AM_LDFLAGS = -L$(top_srcdir) LIBS = $(LTLIBINTL) diff --git a/tests/.gitignore b/tests/.gitignore index d6b9a3f..a44a6b5 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,3 +1,4 @@ *.trs *.log -timer \ No newline at end of file +signal +timer diff --git a/tests/Makefile.am b/tests/Makefile.am index ad629ea..03f4077 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,6 +2,7 @@ EXTRA_DIST = check.h CLEANFILES = *~ *.trs *.log TESTS = +TESTS += signal TESTS += timer check_PROGRAMS = $(TESTS) diff --git a/examples/signal.c b/tests/signal.c similarity index 99% rename from examples/signal.c rename to tests/signal.c index 62f00b3..f17b29f 100644 --- a/examples/signal.c +++ b/tests/signal.c @@ -21,7 +21,6 @@ * THE SOFTWARE. */ -#define _GNU_SOURCE #include #include #include