File: shebang-python-tests

package info (click to toggle)
uhd 4.9.0.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184,180 kB
  • sloc: cpp: 262,887; python: 112,011; ansic: 102,670; vhdl: 57,031; tcl: 19,924; xml: 8,581; makefile: 3,028; sh: 2,812; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (211 lines) | stat: -rw-r--r-- 8,396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
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