Diff between dff1ad9822c4abdd0d3dc17a315d6c7ac8c93b2a and 52e63f4013dbd9b03b089a33a087b454bbcb8b67

Changed Files

File Additions Deletions Status
.gitignore +1 -1 modified
Makefile.tools +8 -8 modified
tools/rctest.1 +0 -0 renamed
tools/rctest.c +0 -0 renamed

Full Patch

diff --git a/.gitignore b/.gitignore
index a5da318..56d1a6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,12 +48,12 @@ tools/hid2hci
 tools/rfcomm
 tools/l2ping
 tools/l2test
+tools/rctest
 tools/sdptool
 tools/avtest
 test/agent
 test/bdaddr
 test/hciemu
-test/rctest
 test/scotest
 test/gaptest
 test/sdptest
diff --git a/Makefile.tools b/Makefile.tools
index d910456..06a0ca2 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -1,6 +1,6 @@
 
 if TOOLS
-bin_PROGRAMS += tools/rfcomm tools/l2ping tools/l2test \
+bin_PROGRAMS += tools/rfcomm tools/l2ping tools/l2test tools/rctest \
 				tools/hcitool tools/sdptool tools/ciptool
 
 bin_PROGRAMS += tools/hciattach tools/hciconfig
@@ -15,6 +15,8 @@ tools_l2ping_LDADD = lib/libbluetooth-private.la
 
 tools_l2test_LDADD = lib/libbluetooth-private.la
 
+tools_rctest_LDADD = lib/libbluetooth-private.la
+
 tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
 						tools/hciattach_st.c \
 						tools/hciattach_ti.c \
@@ -94,11 +96,11 @@ tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
 tools_obex_server_tool_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@
 endif
 
-dist_man_MANS += tools/rfcomm.1 tools/l2ping.1 \
+dist_man_MANS += tools/rfcomm.1 tools/l2ping.1 tools/rctest.1 \
 			tools/hciattach.1 tools/hciconfig.1 \
 			tools/hcitool.1 tools/sdptool.1 tools/ciptool.1
 else
-EXTRA_DIST += tools/rfcomm.1 tools/l2ping.1 \
+EXTRA_DIST += tools/rfcomm.1 tools/l2ping.1 tools/rctest.1 \
 			tools/hciattach.1 tools/hciconfig.1 \
 			tools/hcitool.1 tools/sdptool.1 tools/ciptool.1
 endif
@@ -147,7 +149,7 @@ endif
 
 
 if TEST
-bin_PROGRAMS += test/hciemu test/rctest
+bin_PROGRAMS += test/hciemu
 
 noinst_PROGRAMS += test/gaptest test/sdptest test/scotest \
 					test/lmptest test/bdaddr test/agent \
@@ -155,8 +157,6 @@ noinst_PROGRAMS += test/gaptest test/sdptest test/scotest \
 
 test_hciemu_LDADD = lib/libbluetooth-private.la
 
-test_rctest_LDADD = lib/libbluetooth-private.la
-
 test_gaptest_LDADD = @DBUS_LIBS@
 
 test_sdptest_LDADD = lib/libbluetooth-private.la
@@ -176,11 +176,11 @@ test_btiotest_LDADD = @GLIB_LIBS@ lib/libbluetooth-private.la
 test_mpris_player_SOURCES = test/mpris-player.c
 test_mpris_player_LDADD = @DBUS_LIBS@ @GLIB_LIBS@
 
-dist_man_MANS += test/rctest.1 test/hciemu.1
+dist_man_MANS += test/hciemu.1
 
 EXTRA_DIST += test/bdaddr.1
 else
-EXTRA_DIST += test/rctest.1 test/hciemu.1 test/bdaddr.1
+EXTRA_DIST += test/hciemu.1 test/bdaddr.1
 endif
 
 EXTRA_DIST += test/sap_client.py test/bluezutils.py \
diff --git a/test/rctest.1 b/tools/rctest.1
similarity index 100%
rename from test/rctest.1
rename to tools/rctest.1
diff --git a/test/rctest.c b/tools/rctest.c
similarity index 100%
rename from test/rctest.c
rename to tools/rctest.c