mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-02-19 16:22:52 +01:00
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:
@@ -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
13
Jenkinsfile
vendored
@@ -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
1418
ci-scripts/hackrf_test.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user