From: Ralf Habacker Date: Mon, 13 Jan 2014 19:45:37 +0000 (+0100) Subject: Rename bus-test to test-bus to match common test application naming scheme. X-Git-Tag: dbus-1.8.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce5d21edfe5ca4a97892e3144fcbb5979a54cf6;p=thirdparty%2Fdbus.git Rename bus-test to test-bus to match common test application naming scheme. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73495 Reviewed-by: Simon McVittie --- diff --git a/bus/.gitignore b/bus/.gitignore index 861dc1f5a..3c6def7cf 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 cd0c67dae..65073e488 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 56235315d..4da3a5395 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 ed918e55d..e3efd2cd6 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 71b3cec9d..de1dfe143 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 af2a0a239..3155e87fc 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)