From 4acf80ad024e2911ef6551d3824635879ad5b6ac Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 13 Jan 2014 20:45:37 +0100 Subject: [PATCH 4/4] Rename bus-test to test-bus to match common test application naming scheme. --- bus/.gitignore | 2 +- bus/Makefile.am | 6 +++--- cmake/bus/CMakeLists.txt | 4 ++-- doc/dbus-test-plan.xml | 8 ++++---- test/.gitignore | 2 +- test/Makefile.am | 2 +- 6 Dateien geändert, 12 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-) diff --git a/bus/.gitignore b/bus/.gitignore index 861dc1f..3c6def7 100644 --- a/bus/.gitignore +++ b/bus/.gitignore @@ -13,7 +13,7 @@ dbus-daemon-launch-helper-test *.bbg *.da *.gcov -bus-test +test-bus rc.messagebus messagebus messagebus-config diff --git a/bus/Makefile.am b/bus/Makefile.am index cd0c67d..65073e4 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -169,7 +169,7 @@ if DBUS_ENABLE_EMBEDDED_TESTS ## even when not doing "make check" # run as a test by test/Makefile.am -noinst_PROGRAMS += bus-test bus-test-system +noinst_PROGRAMS += test-bus bus-test-system if DBUS_UNIX # run as a test by test/Makefile.am @@ -192,11 +192,11 @@ bus_test_system_SOURCES= \ bus_test_system_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_BUS_LIBS) -bus_test_SOURCES= \ +test_bus_SOURCES= \ $(BUS_SOURCES) \ test-main.c -bus_test_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_BUS_LIBS) +test_bus_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_BUS_LIBS) ## mop up the gcov files clean-local: diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt index 5623531..4da3a53 100644 --- a/cmake/bus/CMakeLists.txt +++ b/cmake/bus/CMakeLists.txt @@ -107,8 +107,8 @@ endif (DBUS_SERVICE) if (DBUS_ENABLE_EMBEDDED_TESTS) set(SOURCES ${BUS_SOURCES} ${BUS_DIR}/test-main.c) - add_test_executable(bus-test "${SOURCES}" ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY}) - set_target_properties(bus-test PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) + add_test_executable(test-bus "${SOURCES}" ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY}) + set_target_properties(test-bus PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) endif (DBUS_ENABLE_EMBEDDED_TESTS) if(MSVC) diff --git a/doc/dbus-test-plan.xml b/doc/dbus-test-plan.xml index ed918e5..e3efd2c 100644 --- a/doc/dbus-test-plan.xml +++ b/doc/dbus-test-plan.xml @@ -170,10 +170,10 @@ a socket. - - The bus-test program + + The test-bus program - The bus-test program is a program that is used to test various + The test-bus program is a program that is used to test various parts of the D-Bus bus daemon; robustness and that it conforms to the specifications. @@ -185,7 +185,7 @@ testing easier. - The bus-test program should test all major features of the + The test-bus program should test all major features of the bus, such as service registration, notification when things occurs and message matching. diff --git a/test/.gitignore b/test/.gitignore index 71b3cec..de1dfe1 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -7,7 +7,7 @@ Makefile.in *.o echo-server echo-client -bus-test +test-bus unbase64 *.bb *.bbg diff --git a/test/Makefile.am b/test/Makefile.am index e40abb0..eae32e5 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -74,7 +74,7 @@ TEST_BINARIES = \ ## order, but we don't want to run them til we arrive in this directory, ## since they depend on stuff from this directory TESTS = \ - ../bus/bus-test$(EXEEXT) \ + ../bus/test-bus$(EXEEXT) \ ../bus/bus-test-system$(EXEEXT) \ ../dbus/test-dbus$(EXEEXT) \ $(NULL) -- 1.7.10.4