From 920e424bf6246d93a56f909cc3749688d9e4c865 Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Wed, 3 Sep 2025 16:46:21 -0400
Subject: [PATCH] shebang python tests

---
 host/tests/device_addr_test.py                           | 1 +
 host/tests/devtest/bitbang_test.py                       | 1 +
 host/tests/devtest/devtest_b2xx.py                       | 1 +
 host/tests/devtest/devtest_e320.py                       | 1 +
 host/tests/devtest/devtest_e3xx.py                       | 1 +
 host/tests/devtest/devtest_n3x0.py                       | 1 +
 host/tests/devtest/devtest_x3x0.py                       | 1 +
 host/tests/devtest/devtest_x410.py                       | 1 +
 host/tests/devtest/devtest_x440.py                       | 1 +
 host/tests/devtest/gpio_test.py                          | 1 +
 host/tests/devtest/list_sensors_test.py                  | 1 +
 host/tests/devtest/rx_multi_spc_timed_commands_test.py   | 1 +
 host/tests/devtest/rx_stream_cmds_test.py                | 1 +
 host/tests/devtest/tx_multi_spc_timed_commands_test.py   | 1 +
 host/tests/pychdr_parse_test.py                          | 1 +
 host/tests/pyranges_test.py                              | 1 +
 host/tests/streaming_performance/parse_benchmark_rate.py | 1 +
 host/tests/streaming_performance/run_benchmark_rate.py   | 1 +
 host/tests/uhd_image_downloader_test.py                  | 1 +
 host/tests/verify_fbs_test.py                            | 1 +
 20 files changed, 20 insertions(+)

diff --git a/host/tests/device_addr_test.py b/host/tests/device_addr_test.py
index 85cd5b73c..31b90dadb 100644
--- a/host/tests/device_addr_test.py
+++ b/host/tests/device_addr_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2020 Ettus Research, a National Instruments Brand
 #
diff --git a/host/tests/devtest/bitbang_test.py b/host/tests/devtest/bitbang_test.py
index 3e66afc80..b418210d6 100755
--- a/host/tests/devtest/bitbang_test.py
+++ b/host/tests/devtest/bitbang_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/devtest_b2xx.py b/host/tests/devtest/devtest_b2xx.py
index 89456eaa3..252058065 100755
--- a/host/tests/devtest/devtest_b2xx.py
+++ b/host/tests/devtest/devtest_b2xx.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015-2016 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/devtest_e320.py b/host/tests/devtest/devtest_e320.py
index e377664dd..b11674eca 100644
--- a/host/tests/devtest/devtest_e320.py
+++ b/host/tests/devtest/devtest_e320.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/devtest_e3xx.py b/host/tests/devtest/devtest_e3xx.py
index 4b28629e0..42909c1a9 100755
--- a/host/tests/devtest/devtest_e3xx.py
+++ b/host/tests/devtest/devtest_e3xx.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/devtest_n3x0.py b/host/tests/devtest/devtest_n3x0.py
index 1121a4cbe..ae2afb004 100644
--- a/host/tests/devtest/devtest_n3x0.py
+++ b/host/tests/devtest/devtest_n3x0.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/devtest_x3x0.py b/host/tests/devtest/devtest_x3x0.py
index 176d34c44..ec75b0fed 100755
--- a/host/tests/devtest/devtest_x3x0.py
+++ b/host/tests/devtest/devtest_x3x0.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/devtest_x410.py b/host/tests/devtest/devtest_x410.py
index 2326dcc11..b77eee598 100644
--- a/host/tests/devtest/devtest_x410.py
+++ b/host/tests/devtest/devtest_x410.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2020 Ettus Research, a National Instruments Brand
diff --git a/host/tests/devtest/devtest_x440.py b/host/tests/devtest/devtest_x440.py
index 9a6696169..772c256d7 100644
--- a/host/tests/devtest/devtest_x440.py
+++ b/host/tests/devtest/devtest_x440.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2020 Ettus Research, a National Instruments Brand
diff --git a/host/tests/devtest/gpio_test.py b/host/tests/devtest/gpio_test.py
index 19df5d121..2e82aefbf 100755
--- a/host/tests/devtest/gpio_test.py
+++ b/host/tests/devtest/gpio_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/list_sensors_test.py b/host/tests/devtest/list_sensors_test.py
index 02bc3cac4..c986e283b 100644
--- a/host/tests/devtest/list_sensors_test.py
+++ b/host/tests/devtest/list_sensors_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2018 Ettus Research, a National Instruments Company
 #
diff --git a/host/tests/devtest/rx_multi_spc_timed_commands_test.py b/host/tests/devtest/rx_multi_spc_timed_commands_test.py
index d3ad80b2c..f82b4117f 100644
--- a/host/tests/devtest/rx_multi_spc_timed_commands_test.py
+++ b/host/tests/devtest/rx_multi_spc_timed_commands_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2022 Ettus Research, a National Instruments Brand
 #
diff --git a/host/tests/devtest/rx_stream_cmds_test.py b/host/tests/devtest/rx_stream_cmds_test.py
index f549ea654..7138984cf 100644
--- a/host/tests/devtest/rx_stream_cmds_test.py
+++ b/host/tests/devtest/rx_stream_cmds_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2015 Ettus Research LLC
 # Copyright 2018 Ettus Research, a National Instruments Company
diff --git a/host/tests/devtest/tx_multi_spc_timed_commands_test.py b/host/tests/devtest/tx_multi_spc_timed_commands_test.py
index bb59896dc..f18ae8a9d 100644
--- a/host/tests/devtest/tx_multi_spc_timed_commands_test.py
+++ b/host/tests/devtest/tx_multi_spc_timed_commands_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2022 Ettus Research, a National Instruments Brand
 #
diff --git a/host/tests/pychdr_parse_test.py b/host/tests/pychdr_parse_test.py
index 0a6f17c23..48e9d86dd 100644
--- a/host/tests/pychdr_parse_test.py
+++ b/host/tests/pychdr_parse_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2020 Ettus Research, a National Instruments Brand
 #
diff --git a/host/tests/pyranges_test.py b/host/tests/pyranges_test.py
index 17137e9f2..53b6e8b96 100644
--- a/host/tests/pyranges_test.py
+++ b/host/tests/pyranges_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2020 Ettus Research, a National Instruments Brand
 #
diff --git a/host/tests/streaming_performance/parse_benchmark_rate.py b/host/tests/streaming_performance/parse_benchmark_rate.py
index 26cfa27dd..c9e8d4713 100644
--- a/host/tests/streaming_performance/parse_benchmark_rate.py
+++ b/host/tests/streaming_performance/parse_benchmark_rate.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 """
 Copyright 2019 Ettus Research, A National Instrument Brand
 
diff --git a/host/tests/streaming_performance/run_benchmark_rate.py b/host/tests/streaming_performance/run_benchmark_rate.py
index 176ba2761..252c800d4 100644
--- a/host/tests/streaming_performance/run_benchmark_rate.py
+++ b/host/tests/streaming_performance/run_benchmark_rate.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 """
 Copyright 2019 Ettus Research, A National Instrument Brand
 
diff --git a/host/tests/uhd_image_downloader_test.py b/host/tests/uhd_image_downloader_test.py
index ef5c0b5a3..27c6abddd 100644
--- a/host/tests/uhd_image_downloader_test.py
+++ b/host/tests/uhd_image_downloader_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2020 Ettus Research, a National Instruments Brand
 #
diff --git a/host/tests/verify_fbs_test.py b/host/tests/verify_fbs_test.py
index 261037c4f..603785c8f 100644
--- a/host/tests/verify_fbs_test.py
+++ b/host/tests/verify_fbs_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 #
 # Copyright 2020 Ettus Research, a National Instruments Brand
 #
-- 
2.47.2

