From c052046717c09758bbdf62819e0029dddcae7159 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 28 Feb 2015 14:18:56 +0100 Subject: [PATCH] unit tests: Drop unneeded check_ filename prefix. --- Makefile.am | 20 ++++++++++---------- tests/{check_core.c => core.c} | 0 tests/{check_decoder.c => decoder.c} | 0 tests/{check_inst.c => inst.c} | 0 tests/{check_main.c => main.c} | 0 tests/{check_session.c => session.c} | 0 6 files changed, 10 insertions(+), 10 deletions(-) rename tests/{check_core.c => core.c} (100%) rename tests/{check_decoder.c => decoder.c} (100%) rename tests/{check_inst.c => inst.c} (100%) rename tests/{check_main.c => main.c} (100%) rename tests/{check_session.c => session.c} (100%) diff --git a/Makefile.am b/Makefile.am index 398103b..3a50400 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,19 +50,19 @@ pkgconfig_DATA = libsigrokdecode.pc EXTRA_DIST = Doxyfile HACKING contrib/sigrok-logo-notext.png if HAVE_CHECK -TESTS = tests/check_main +TESTS = tests/main check_PROGRAMS = ${TESTS} -tests_check_main_SOURCES = \ +tests_main_SOURCES = \ libsigrokdecode.h \ tests/lib.h \ - tests/check_main.c \ - tests/check_core.c \ - tests/check_decoder.c \ - tests/check_inst.c \ - tests/check_session.c -tests_check_main_CFLAGS = $(AM_CFLAGS) @check_CFLAGS@ -tests_check_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@ -tests_check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ + tests/main.c \ + tests/core.c \ + tests/decoder.c \ + tests/inst.c \ + tests/session.c +tests_main_CFLAGS = $(AM_CFLAGS) @check_CFLAGS@ +tests_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@ +tests_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ -DDECODERS_DIR='"$(abs_top_srcdir)/decoders"' endif diff --git a/tests/check_core.c b/tests/core.c similarity index 100% rename from tests/check_core.c rename to tests/core.c diff --git a/tests/check_decoder.c b/tests/decoder.c similarity index 100% rename from tests/check_decoder.c rename to tests/decoder.c diff --git a/tests/check_inst.c b/tests/inst.c similarity index 100% rename from tests/check_inst.c rename to tests/inst.c diff --git a/tests/check_main.c b/tests/main.c similarity index 100% rename from tests/check_main.c rename to tests/main.c diff --git a/tests/check_session.c b/tests/session.c similarity index 100% rename from tests/check_session.c rename to tests/session.c -- 2.30.2