ifnet/test: rename test check_ifnet to test-ifnet
authorThomas Haller <thaller@redhat.com>
Tue, 26 May 2015 14:30:19 +0000 (16:30 +0200)
committerThomas Haller <thaller@redhat.com>
Tue, 26 May 2015 14:35:00 +0000 (16:35 +0200)
All our other test binaries are named "test-*" so rename this
one too. Also we gitignore "test-*.log" files, but didn't ignore
"check_ifnet.log".

.gitignore
src/settings/plugins/ifnet/tests/Makefile.am
src/settings/plugins/ifnet/tests/test-ifnet.c [moved from src/settings/plugins/ifnet/tests/test_all.c with 100% similarity]

index 2d4fcb6..c7bcc05 100644 (file)
@@ -243,7 +243,7 @@ test-*.trs
 /src/settings/plugins/ibft/tests/test-ibft
 /src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh
 /src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh-utils
-/src/settings/plugins/ifnet/tests/check_ifnet
+/src/settings/plugins/ifnet/tests/test-ifnet
 /src/settings/plugins/ifupdown/tests/test-ifupdown
 /src/settings/plugins/keyfile/tests/test-keyfile
 /src/supplicant-manager/tests/test-supplicant-config
index f6296ac..8bfe698 100644 (file)
@@ -21,21 +21,21 @@ AM_CPPFLAGS= \
        -DTEST_WPA_SUPPLICANT_CONF='"$(srcdir)/wpa_supplicant.conf"' \
        -DSYSCONFDIR=\"nonexistent\"
 
-noinst_PROGRAMS = check_ifnet
-check_ifnet_SOURCES = \
-       test_all.c \
+noinst_PROGRAMS = test-ifnet
+test_ifnet_SOURCES = \
+       test-ifnet.c \
        ../connection_parser.c \
        ../net_parser.c \
        ../net_utils.c \
        ../wpa_parser.c
 
-check_ifnet_LDFLAGS = \
+test_ifnet_LDFLAGS = \
        $(CODE_COVERAGE_LDFLAGS)
 
-check_ifnet_LDADD = $(top_builddir)/src/libNetworkManager.la
+test_ifnet_LDADD = $(top_builddir)/src/libNetworkManager.la
 
 #@VALGRIND_RULES@
-TESTS = check_ifnet
+TESTS = test-ifnet
 
 endif