Loading files
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/tulipcc-498083946.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/sh
set -e
dims="$1"
micropython="$2"
for level1 in $(printf "%dd " $(seq 1 ${dims}))
do
for level2 in numpy scipy utils complex; do
rm -f *.exp
if [ ! -d tests/"$level1"/"$level2" ]; then
break;
fi
for file in tests/"$level1"/"$level2"/*.py; do
if [ ! -f "$file"".exp" ]; then
echo "" > "$file"".exp"
fi
done
if ! env MICROPY_MICROPYTHON="$micropython" ./run-tests -d tests/"$level1"/"$level2"; then
for exp in *.exp; do
testbase=$(basename $exp .exp);
echo "\nFAILURE $testbase";
diff -u $testbase.exp $testbase.out;
done
exit 1
fi
done
done