EXTRA_DIST += scripts/bluetooth.rules \
scripts/bluetooth-hid2hci.rules scripts/bluetooth-serial.rules
+test_scripts = test/apitest \
+ test/hsplay \
+ test/hsmicro \
+ test/list-devices \
+ test/monitor-bluetooth \
+ test/simple-agent \
+ test/simple-service \
+ test/test-adapter \
+ test/test-audio \
+ test/test-device \
+ test/test-discovery \
+ test/test-input \
+ test/test-manager \
+ test/test-network \
+ test/test-serial \
+ test/test-service \
+ test/test-telephony
+
+
+if TEST
+testdir = ${pkglibdir}/test
+test_SCRIPTS = ${test_scripts}
+endif
+
EXTRA_DIST += doc/manager-api.txt \
doc/adapter-api.txt doc/device-api.txt \
doc/service-api.txt doc/agent-api.txt doc/attribute-api.txt \
bin_PROGRAMS += test/l2test test/rctest
-noinst_PROGRAMS += test/gaptest test/sdptest test/scotest \
+bin_PROGRAMS += test/gaptest test/sdptest test/scotest \
test/attest test/hstest test/avtest test/ipctest \
test/lmptest test/bdaddr test/agent \
test/btiotest test/test-textfile \
+* Fri Jun 8 13:15:54 CST 2012 Arron <arron.wang@intel.com> - 4.99
+- Install more test script to test subpackage
+
* Fri Jun 8 13:03:17 CST 2012 Arron <arron.wang@intel.com> - 4.99
- Remove already merged patches
URL: http://www.bluez.org/
Source0: %{name}-%{version}.tar.gz
Source1: bluetooth.service
-Patch0: install-more-binary-test.patch
Patch1: audio_conf.patch
-Patch2: install-test-scripts.patch
Requires: bluez-libs = %{version}
Requires: dbus >= 0.60
Requires: usbutils
%prep
%setup -q -n %{name}-%{version}
-#install-more-binary-test.patch
-%patch0 -p1
#audio_conf.patch
%patch1 -p1
-#install-test-scripts.patch
-%patch2 -p1
export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -D__BROADCOM_PATCH__"
%reconfigure --disable-static \
+++ /dev/null
---- old/Makefile.tools 2011-07-11 15:24:40.506542027 +0800
-+++ new/Makefile.tools 2011-07-11 15:26:50.141636589 +0800
-@@ -151,7 +151,7 @@
-
- bin_PROGRAMS += test/l2test test/rctest
-
--noinst_PROGRAMS += test/gaptest test/sdptest test/scotest \
-+bin_PROGRAMS += test/gaptest test/sdptest test/scotest \
- test/attest test/hstest test/avtest test/ipctest \
- test/lmptest test/bdaddr test/agent \
- test/btiotest test/test-textfile \
+++ /dev/null
---- old/Makefile.am 2011-07-11 14:58:11.468606842 +0800
-+++ new/Makefile.am 2011-07-11 15:21:42.593537802 +0800
-@@ -367,6 +367,30 @@
- EXTRA_DIST += scripts/bluetooth.rules \
- scripts/bluetooth-hid2hci.rules scripts/bluetooth-serial.rules
-
-+test_scripts = test/apitest \
-+ test/hsplay \
-+ test/hsmicro \
-+ test/list-devices \
-+ test/monitor-bluetooth \
-+ test/simple-agent \
-+ test/simple-service \
-+ test/test-adapter \
-+ test/test-audio \
-+ test/test-device \
-+ test/test-discovery \
-+ test/test-input \
-+ test/test-manager \
-+ test/test-network \
-+ test/test-serial \
-+ test/test-service \
-+ test/test-telephony
-+
-+
-+if TEST
-+testdir = ${pkglibdir}/test
-+test_SCRIPTS = ${test_scripts}
-+endif
-+
- EXTRA_DIST += doc/manager-api.txt \
- doc/adapter-api.txt doc/device-api.txt \
- doc/service-api.txt doc/agent-api.txt doc/attribute-api.txt \