Fixing python venv setup

master
Ryan Summers 2021-04-06 14:28:08 +02:00
parent d718914f0d
commit 2e4fdbb6e2
1 changed files with 6 additions and 1 deletions

View File

@ -7,11 +7,16 @@
# This shell file is executed by the hardware runner in Quartiq's office to exercise the various
# hardware aspects of Stabilizer.
# Set up python for testing
python3 -m venv --system-site-packages py
source py/bin/activate
python3 -m pip install -r requirements.txt
# Test pinging Stabilizer. This exercises that:
# * DHCP is functional and an IP has been acquired
# * Stabilizer's network is functioning as intended
# * The stabilizer application is opeerational
ping -c 5 -W 20 gonnigan.ber.quartiq.de
ping -c 5 -w 20 gonnigan.ber.quartiq.de
# Test the MQTT interface.
python3 miniconf.py dt/sinara/stabilizer afe/0 '"G2"'