File: x32-testrigcaps

package info (click to toggle)
hamlib 4.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,768 kB
  • sloc: ansic: 262,144; sh: 5,398; cpp: 1,578; perl: 876; makefile: 841; python: 148; awk: 58; xml: 26
file content (23 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Ignore testrigcaps on x32

Struct offsets are different there.

Check rig_caps offsets
If changed can affect shared library API
offset vfo_list=10144
offset power_max=10536
offset of power_max has changed!!!
was 13696, now 10536
FAIL testrigcaps.sh (exit status: 1)

--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -116,7 +116,7 @@ testloc.sh:
 	chmod +x ./testloc.sh
 
 testrigcaps.sh:
-	echo './testrigcaps' > testrigcaps.sh
+	echo './testrigcaps || [ $$(dpkg --print-architecture) = x32 ]' > testrigcaps.sh
 	chmod +x ./testrigcaps.sh
 
 testcache.sh: