[PATCH BlueZ 2/3] tools: disable running TX timestamping tests for now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Disable the TX timestamping related tests for now, as the feature will
need some further work.
---
 tools/iso-tester.c   | 5 +++++
 tools/l2cap-tester.c | 6 ++++++
 tools/sco-tester.c   | 6 ++++++
 3 files changed, 17 insertions(+)

diff --git a/tools/iso-tester.c b/tools/iso-tester.c
index d54fa56ec..e80c2159c 100644
--- a/tools/iso-tester.c
+++ b/tools/iso-tester.c
@@ -690,6 +690,11 @@ static void test_pre_setup(const void *test_data)
 	struct test_data *data = tester_get_data();
 	const struct iso_client_data *isodata = test_data;
 
+	if (isodata && isodata->so_timestamping) {
+		if (tester_pre_setup_skip_by_default())
+			return;
+	}
+
 	data->mgmt = mgmt_new_default();
 	if (!data->mgmt) {
 		tester_warn("Failed to setup management interface");
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index 02d1571d2..c34080654 100644
--- a/tools/l2cap-tester.c
+++ b/tools/l2cap-tester.c
@@ -214,6 +214,12 @@ static void read_index_list_callback(uint8_t status, uint16_t length,
 static void test_pre_setup(const void *test_data)
 {
 	struct test_data *data = tester_get_data();
+	const struct l2cap_data *l2data = test_data;
+
+	if (l2data && l2data->so_timestamping) {
+		if (tester_pre_setup_skip_by_default())
+			return;
+	}
 
 	data->mgmt = mgmt_new_default();
 	if (!data->mgmt) {
diff --git a/tools/sco-tester.c b/tools/sco-tester.c
index ff8a3613f..a56cb9153 100644
--- a/tools/sco-tester.c
+++ b/tools/sco-tester.c
@@ -197,6 +197,12 @@ static void read_index_list_callback(uint8_t status, uint16_t length,
 static void test_pre_setup(const void *test_data)
 {
 	struct test_data *data = tester_get_data();
+	const struct sco_client_data *scodata = test_data;
+
+	if (scodata && scodata->so_timestamping) {
+		if (tester_pre_setup_skip_by_default())
+			return;
+	}
 
 	data->mgmt = mgmt_new_default();
 	if (!data->mgmt) {
-- 
2.45.0





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux