summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2014-01-11 20:51:27 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-17 16:17:02 +0000
commit0cd0714994a94a433745ed9bb2150cddbda5b313 (patch)
tree366e3c14ec52c0b8418b519bfb4a7006d740dbcc /dbus
parent8875cdf025f649bfa287a5cc49e4dc0aa00c71dc (diff)
downloaddbus-0cd0714994a94a433745ed9bb2150cddbda5b313.tar.gz
Rename dbus-test to test-dbus to match common test application naming scheme.
[reverted the dbus-specification part -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73495 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'dbus')
-rw-r--r--dbus/.gitignore2
-rw-r--r--dbus/Makefile.am6
-rw-r--r--dbus/dbus-test.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/dbus/.gitignore b/dbus/.gitignore
index 34eace4d..fd91ccee 100644
--- a/dbus/.gitignore
+++ b/dbus/.gitignore
@@ -4,7 +4,7 @@ Makefile
Makefile.in
*.lo
*.la
-dbus-test
+test-dbus
*.bb
*.bbg
*.gcov
diff --git a/dbus/Makefile.am b/dbus/Makefile.am
index 0f9033d1..b2481073 100644
--- a/dbus/Makefile.am
+++ b/dbus/Makefile.am
@@ -312,13 +312,13 @@ noinst_PROGRAMS =
if DBUS_ENABLE_EMBEDDED_TESTS
# We can't actually run this til we've reached test/
-noinst_PROGRAMS += dbus-test
+noinst_PROGRAMS += test-dbus
endif
-dbus_test_SOURCES= \
+test_dbus_SOURCES= \
dbus-test-main.c
-dbus_test_LDADD = libdbus-internal.la
+test_dbus_LDADD = libdbus-internal.la
## mop up the gcov files
clean-local:
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c
index b707ee22..5990d6ec 100644
--- a/dbus/dbus-test.c
+++ b/dbus/dbus-test.c
@@ -41,7 +41,7 @@ check_memleaks (void)
{
dbus_shutdown ();
- printf ("%s: checking for memleaks\n", "dbus-test");
+ printf ("%s: checking for memleaks\n", "test-dbus");
if (_dbus_get_malloc_blocks_outstanding () != 0)
{
_dbus_warn ("%d dbus_malloc blocks were not freed\n",
@@ -60,7 +60,7 @@ run_test (const char *test_name,
{
if (!specific_test || strcmp (specific_test, test_name) == 0)
{
- printf ("%s: running %s tests\n", "dbus-test", test_name);
+ printf ("%s: running %s tests\n", "test-dbus", test_name);
if (!test ())
die (test_name);
@@ -76,7 +76,7 @@ run_data_test (const char *test_name,
{
if (!specific_test || strcmp (specific_test, test_name) == 0)
{
- printf ("%s: running %s tests\n", "dbus-test", test_name);
+ printf ("%s: running %s tests\n", "test-dbus", test_name);
if (!test (test_data_dir))
die (test_name);
@@ -165,7 +165,7 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci
run_data_test ("auth", specific_test, _dbus_auth_test, test_data_dir);
- printf ("%s: completed successfully\n", "dbus-test");
+ printf ("%s: completed successfully\n", "test-dbus");
#else
printf ("Not compiled with unit tests, not running any\n");
#endif