Skip to content

Commit

Permalink
working to get smoke tests to work
Browse files Browse the repository at this point in the history
  • Loading branch information
bellrichm committed Nov 1, 2023
1 parent 81eaf3c commit 55bf5ea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions devtools/smoketest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ python_command='python'$PYENV_VERSION
python_version=$(pyenv which $python_command)
echo "Running $python_version $WEEWX"

# todo - get running as a driver to work

echo "Running as service bound to loop"
PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.loop.conf --type service --binding loop --records 3 --interval 2 --delay 0 --verbose
PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.loop.conf --type driver --binding loop --records 3 --interval 2 --delay 0 --verbose
echo "Running as driver bound to loop"
#PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.loop.conf --type driver --binding loop --records 3 --interval 2 --delay 0 --verbose

echo "Running as service bound to archive"
PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.archive.conf --type service --binding archive --records 3 --interval 60 --delay 5 --verbose
PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.archive.conf --type driver --binding archive --records 3 --interval 2 --delay 0 --verbose
echo "Running as dtiver bound to archive"
#PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.archive.conf --type driver --binding archive --records 3 --interval 2 --delay 0 --verbose

0 comments on commit 55bf5ea

Please sign in to comment.