Add hackrf_test.py (#1587)

hackrf_test.py uses one HackRF to test another.

Co-authored-by: Michael Ossmann <mike@ossmann.com>
This commit is contained in:
Jacob Graves
2025-10-31 11:51:09 -06:00
committed by GitHub
parent d56d652764
commit 9e6f1a24f3
3 changed files with 1421 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# Install USB hub PPPS dependencies
RUN pip3 install python-dotenv git+https://github.com/CapableRobot/CapableRobot_USBHub_Driver --upgrade
RUN pip3 install numpy python-dotenv git+https://github.com/CapableRobot/CapableRobot_USBHub_Driver --upgrade
RUN curl -L https://github.com/mvp/uhubctl/archive/refs/tags/v2.5.0.tar.gz > uhubctl-2.5.0.tar.gz \
&& mkdir uhubctl-2.5.0 \
&& tar -xvzf uhubctl-2.5.0.tar.gz -C uhubctl-2.5.0 --strip-components 1 \

13
Jenkinsfile vendored
View File

@@ -21,17 +21,8 @@ pipeline {
retry(3) {
sh './ci-scripts/test-host.sh'
}
retry(3) {
sh './ci-scripts/test-firmware-program.sh'
}
sh './ci-scripts/test-firmware-flash.sh'
sh 'python3 ci-scripts/test-debug.py'
retry(3) {
sh 'python3 ci-scripts/test-transfer.py tx'
}
retry(3) {
sh 'python3 ci-scripts/test-transfer.py rx'
}
sh 'hubs hackrf hackrf_dfu on'
sh 'python3 ci-scripts/hackrf_test.py --unattended --ci --log log --rev r4 --manufacturer --hostdir host/build/hackrf-tools/src/ --fwupdate firmware/hackrf_usb/build/ --tester 0000000000000000325866e629a25623 --eut RunningFromRAM'
sh 'hubs all off'
retry(3) {
sh 'python3 ci-scripts/test-sgpio-debug.py'

1418
ci-scripts/hackrf_test.py Normal file

File diff suppressed because it is too large Load Diff