1#!/bin/sh
2#
3# Run "pytest test/test_esptool.py" using the newly compiled stub, for quick tests
4#
5# Usage same as "pytest test/test_esptool.py --port <PORT> --chip <CHIP> --baud <BAUD>"
6
7THISDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
8
9export ESPTOOL_PY="${THISDIR}/esptool_test_stub.py"
10pytest ${THISDIR}/../test/test_esptool.py $@
11