File tree Expand file tree Collapse file tree 3 files changed +3
-40
lines changed Expand file tree Collapse file tree 3 files changed +3
-40
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Runs tests on virtualhub .
3+ # Runs tests on simhub .
44#
55# Use `--list-test` to list tests or `--include <regex>` to run single tests.
66#
@@ -12,17 +12,15 @@ if [[ $CI != "true" ]]; then
1212fi
1313
1414SCRIPT_DIR=$( readlink -f " $( dirname " $0 " ) " )
15- BRICK_DIR=" $SCRIPT_DIR /bricks/virtualhub "
15+ BRICK_DIR=" $SCRIPT_DIR /bricks/simhub "
1616MP_TEST_DIR=" $SCRIPT_DIR /micropython/tests"
1717PB_TEST_DIR=$" $SCRIPT_DIR /tests"
1818BUILD_DIR=" $BRICK_DIR /build${COVERAGE: +-coverage} "
1919PBIO_DIR=" $SCRIPT_DIR /lib/pbio"
2020
2121make -s -j $( nproc --all) -C " $BRICK_DIR "
2222
23- export MICROPY_MICROPYTHON=" $BUILD_DIR /virtualhub-micropython"
24- export PYTHONPATH=" $PBIO_DIR /cpython"
25- export PBIO_VIRTUAL_PLATFORM_MODULE=pbio_virtual.platform.robot
23+ export MICROPY_MICROPYTHON=" $BUILD_DIR /firmware.elf"
2624
2725cd " $MP_TEST_DIR "
2826./run-tests.py --test-dirs $( find " $PB_TEST_DIR /virtualhub" -type d -and ! -wholename " */build/*" -and ! -wholename " */run_test.py" ) " $@ " || \
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments