Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
micropython/ports/zephyr/make-bin-testsuite
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
20 lines (18 sloc)
834 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This is a wrapper for make to build a binary with builtin testsuite. | |
# It should be run just like make (i.e. extra vars can be passed on the | |
# command line, etc.), e.g.: | |
# | |
# ./make-bin-testsuite BOARD=qemu_cortex_m3 | |
# ./make-bin-testsuite BOARD=qemu_cortex_m3 run | |
# | |
(cd ../../tests; ./run-tests.py --write-exp) | |
(cd ../../tests; ./run-tests.py --list-tests --target=minimal \ | |
-e async -e intbig -e int_big -e builtin_help -e memstats -e bytes_compare3 -e class_reverse_op \ | |
-e /set -e frozenset -e complex -e const -e native -e viper \ | |
-e 'float_divmod\.' -e float_parse_doubleprec -e float/true_value -e float/types \ | |
| ../tools/tinytest-codegen.py --stdin) > bin-testsuite.c | |
make \ | |
CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_bin_testsuite.h>" -DTEST=\"bin-testsuite.c\" -DNO_FORKING' \ | |
"$@" |