mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
5b455f1d31
* finalize gps test before adding to ci Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
17 lines
393 B
Bash
Executable File
17 lines
393 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# NOTE: can only run inside limeGPS test box!
|
|
|
|
# run limeGPS with random static location
|
|
timeout 300 ./simulate_gps_signal.py 32.7518 -117.1962 &
|
|
gps_PID=$(ps -aux | grep -m 1 "timeout 300" | cut -d ' ' -f 7)
|
|
|
|
echo "starting limeGPS..."
|
|
sleep 10
|
|
|
|
# run unit tests (skipped when module not present)
|
|
python -m unittest test_gps.py
|
|
python -m unittest test_gps_qcom.py
|
|
|
|
kill $gps_PID
|