#!/bin/sh
set -e

make -C mpy-cross
cd tests
MICROPY_MICROPYTHON=/usr/bin/micropython ./run-tests -e ussl_basic
MICROPY_MICROPYTHON=/usr/bin/micropython ./run-tests -d thread jni
MICROPY_MICROPYTHON=/usr/bin/micropython ./run-tests --emit native -e ussl_basic
MICROPY_MICROPYTHON=/usr/bin/micropython ./run-tests --via-mpy -d basics float micropython
MICROPY_MICROPYTHON=/usr/bin/micropython ./run-tests --via-mpy --emit native -d basics float micropython
