firmware/bin/test-simulator.sh

11 lines
243 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2021-05-23 09:02:47 +00:00
set -e
echo "Starting simulator"
.pio/build/native/program &
sleep 20 # 5 seconds was not enough
echo "Simulator started, launching python test..."
python3 -c 'from meshtastic.test import testSimulator; testSimulator()'