]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Cleanup various test Makefile.am files. Harlan Stenn.
authorHarlan Stenn <stenn@ntp.org>
Wed, 16 Sep 2015 11:10:41 +0000 (11:10 +0000)
committerHarlan Stenn <stenn@ntp.org>
Wed, 16 Sep 2015 11:10:41 +0000 (11:10 +0000)
bk: 55f94e317xK_O-elaHzI8lb0Jne94w

ChangeLog
sntp/tests/Makefile.am
tests/libntp/Makefile.am
tests/ntpd/Makefile.am
tests/ntpq/Makefile.am

index 88bad4ae743e09270602593456fe0906903629a9..d07870b850a796f03a6996c83cea45d16a643648 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -113,6 +113,7 @@ fixed formatting. Tomasz Flendrich
 * 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>
 
index 246f842011ebe0a7a90cee3655c81968cc8b586f..3a16347270efaf2a14e6ff561762d67a526ce280 100644 (file)
@@ -30,11 +30,11 @@ run_unity = cd $(srcdir) && ruby ../unity/auto/generate_test_runner.rb
 #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           \
@@ -108,9 +108,9 @@ BUILT_SOURCES +=                            \
        $(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 =              \
@@ -132,17 +132,17 @@ test_kodDatabase_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 =                \
@@ -152,9 +152,9 @@ test_packetProcessing_SOURCES =             \
        $(NULL)
 
 test_utilities_SOURCES =               \
+       fileHandlingTest.c              \
        utilities.c                     \
        run-utilities.c                 \
-       fileHandlingTest.c              \
        $(NULL)
 
 test_crypto_CFLAGS =                   \
index 1b022026322876c6de21b72f4c3344fc57637a96..7bfe9eea8859cc12f46225fb7f7f6de95c183cca 100644 (file)
@@ -117,9 +117,9 @@ noinst_HEADERS =    \
 
 ###
 
-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)
@@ -127,9 +127,9 @@ $(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)
@@ -137,9 +137,9 @@ $(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)
@@ -147,9 +147,9 @@ $(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)
@@ -157,10 +157,10 @@ $(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)
@@ -168,10 +168,10 @@ $(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)
@@ -184,9 +184,9 @@ test_caltontp_CFLAGS =              \
        $(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)
index 189fedb97898273593af3fd79310305bd650f6ea..30506fed9ea49b6f2160a142d1f14d77c37b215f 100644 (file)
@@ -9,12 +9,12 @@ 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 =               \
@@ -55,17 +55,13 @@ BUILT_SOURCES +=                    \
        $(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)
@@ -79,7 +75,6 @@ test_leapsec_SOURCES =                        \
 $(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      \
@@ -148,8 +143,8 @@ test_ntp_signd_LDADD =                      \
        $(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        \
index 8676cf91d4f7e587ab33429b2166e7609cbe5373..c729eee8bbff226ae548a4a5258450300a23ac29 100644 (file)
@@ -12,7 +12,6 @@ check_PROGRAMS =      \
        test-ntpq       \
        $(NULL)
 
-
 LDADD =                                        \
        $(top_builddir)/ntpq/libntpq.a  \
        $(top_builddir)/ntpd/libntpd.a  \
@@ -29,30 +28,24 @@ unity_tests_LDADD =                         \
        $(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 =                     \
@@ -64,7 +57,7 @@ test_ntpq_LDADD =                     \
        $(NULL)
 
 test_ntpq_SOURCES =                    \
-       t-ntpq.c                                \
+       t-ntpq.c                        \
        run-t-ntpq.c                    \
        $(NULL)