* Update the NEWS file. Harlan Stenn.
* Autoconf cleanup. Harlan Stenn.
* Unit test dist cleanup. Harlan Stenn.
+* Cleanup various test Makefile.am files. Harlan Stenn.
---
(4.2.8p3) 2015/06/29 Released by Harlan Stenn <stenn@ntp.org>
#EXTRA_PROGRAMS += test-packetHandling test-packetProcessing
check_PROGRAMS = \
- test-log \
test-crypto \
test-keyFile \
test-kodDatabase \
test-kodFile \
+ test-log \
test-networking \
test-packetHandling \
test-packetProcessing \
$(srcdir)/run-kodDatabase.c \
$(srcdir)/run-kodFile.c \
$(srcdir)/run-networking.c \
+ $(srcdir)/run-packetHandling.c \
$(srcdir)/run-packetProcessing.c \
$(srcdir)/run-utilities.c \
- $(srcdir)/run-packetHandling.c \
$(NULL)
test_networking_SOURCES = \
$(NULL)
test_keyFile_SOURCES = \
+ fileHandlingTest.c \
keyFile.c \
run-keyFile.c \
- fileHandlingTest.c \
$(top_builddir)/version.c \
$(NULL)
test_kodFile_SOURCES = \
+ fileHandlingTest.c \
kodFile.c \
run-kodFile.c \
$(top_builddir)/version.c \
- fileHandlingTest.c \
$(NULL)
test_packetProcessing_SOURCES = \
$(NULL)
test_utilities_SOURCES = \
+ fileHandlingTest.c \
utilities.c \
run-utilities.c \
- fileHandlingTest.c \
$(NULL)
test_crypto_CFLAGS = \
###
-test_a_md5encrypt_SOURCES = \
- a_md5encrypt.c \
- run-a_md5encrypt.c \
+test_a_md5encrypt_SOURCES = \
+ a_md5encrypt.c \
+ run-a_md5encrypt.c \
$(NULL)
$(srcdir)/run-a_md5encrypt.c: $(srcdir)/a_md5encrypt.c $(std_unity_list)
###
-test_atoint_SOURCES = \
- atoint.c \
- run-atoint.c \
+test_atoint_SOURCES = \
+ atoint.c \
+ run-atoint.c \
$(NULL)
$(srcdir)/run-atoint.c: $(srcdir)/atoint.c $(std_unity_list)
###
-test_atouint_SOURCES = \
- atouint.c \
- run-atouint.c \
+test_atouint_SOURCES = \
+ atouint.c \
+ run-atouint.c \
$(NULL)
$(srcdir)/run-atouint.c: $(srcdir)/atouint.c $(std_unity_list)
###
-test_authkeys_SOURCES = \
- authkeys.c \
- run-authkeys.c \
+test_authkeys_SOURCES = \
+ authkeys.c \
+ run-authkeys.c \
$(NULL)
$(srcdir)/run-authkeys.c: $(srcdir)/authkeys.c $(std_unity_list)
###
-test_buftvtots_SOURCES = \
- buftvtots.c \
- run-buftvtots.c \
- lfptest.c \
+test_buftvtots_SOURCES = \
+ buftvtots.c \
+ run-buftvtots.c \
+ lfptest.c \
$(NULL)
$(srcdir)/run-buftvtots.c: $(srcdir)/buftvtots.c $(std_unity_list)
###
-test_calendar_SOURCES = \
- calendar.c \
- run-calendar.c \
- test-libntp.c \
+test_calendar_SOURCES = \
+ calendar.c \
+ run-calendar.c \
+ test-libntp.c \
$(NULL)
$(srcdir)/run-calendar.c: $(srcdir)/calendar.c $(std_unity_list)
$(AM_CFLAGS) \
$(NULL)
-test_caltontp_SOURCES = \
- caltontp.c \
- run-caltontp.c \
+test_caltontp_SOURCES = \
+ caltontp.c \
+ run-caltontp.c \
$(NULL)
$(srcdir)/run-caltontp.c: $(srcdir)/caltontp.c $(std_unity_list)
run_unity = cd $(srcdir) && ruby ../../sntp/unity/auto/generate_test_runner.rb
check_PROGRAMS = \
- test-ntp_signd \
test-leapsec \
- test-rc_cmdlength \
+ test-ntp_prio_q \
test-ntp_restrict \
test-ntp_scanner \
- test-ntp_prio_q \
+ test-ntp_signd \
+ test-rc_cmdlength \
$(NULL)
EXTRA_PROGRAMS = \
$(srcdir)/run-t-ntp_signd.c \
$(NULL)
-#noinst_HEADERS = \
-# g_ntpdtest.h \
-# $(srcdir)/../libntp/test-libntp.h \
-# $(NULL)
-
###
test_leapsec_CFLAGS = \
-I$(top_srcdir)/sntp/unity \
$(NULL)
-#probably needs -lpthread in LDADD
+
+# Might need pthread support
test_leapsec_LDADD = \
$(unity_tests_LDADD) \
$(NULL)
$(srcdir)/run-leapsec.c: $(srcdir)/leapsec.c $(std_unity_list)
$(run_unity) leapsec.c run-leapsec.c
-
###
test_ntp_prio_q_CFLAGS = \
-I$(top_srcdir)/sntp/unity \
$(top_builddir)/ntpd/ntp_io.o \
$(NULL)
-test_ntp_signd_SOURCES = \
- t-ntp_signd.c \
+test_ntp_signd_SOURCES = \
+ t-ntp_signd.c \
run-t-ntp_signd.c \
$(srcdir)/../libntp/test-libntp.c \
$(srcdir)/../../ntpd/ntp_signd.c \
test-ntpq \
$(NULL)
-
LDADD = \
$(top_builddir)/ntpq/libntpq.a \
$(top_builddir)/ntpd/libntpd.a \
$(NULL)
AM_CFLAGS = $(CFLAGS_NTP)
-AM_CXXFLAGS = $(GTEST_CXXFLAGS)
-
AM_CPPFLAGS = $(NTP_INCS)
AM_CPPFLAGS += -I$(top_srcdir)/ntpq
#AM_CPPFLAGS += -I$(top_srcdir)/sntp
#AM_CPPFLAGS += -I$(top_srcdir)/ntpd
#AM_CPPFLAGS += -I$(top_srcdir)/tests/libntp
-AM_CPPFLAGS += $(GTEST_CPPFLAGS)
AM_CPPFLAGS += $(CPPFLAGS_NTP)
AM_CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H
AM_CPPFLAGS += -I$(top_srcdir)/sntp/unity
AM_LDFLAGS = $(LDFLAGS_NTP)
-tests_SOURCES = t-ntpq.c \
- $(NULL)
-
BUILT_SOURCES += \
$(srcdir)/run-t-ntpq.c \
$(NULL)
-noinst_HEADERS = \
- $(NULL)
+noinst_HEADERS = \
+ $(NULL)
###
test_ntpq_CFLAGS = \
$(NULL)
test_ntpq_SOURCES = \
- t-ntpq.c \
+ t-ntpq.c \
run-t-ntpq.c \
$(NULL)