Browse Source

Moved upload scripts into test directory

master^2
Cefn Hoile 3 years ago
parent
commit
7f28171d98
4 changed files with 2 additions and 2 deletions
  1. +1
    -1
      test/scripts/upload_feather_huzzah_circuitpython_put.sh
  2. +0
    -0
      test/scripts/upload_feather_huzzah_micropython_put.sh
  3. +1
    -1
      test/scripts/upload_feather_m0_watch.py
  4. +0
    -0
      test/scripts/upload_pyboard_watch.py

python/upload_feather_huzzah_circuitpython_put.sh → test/scripts/upload_feather_huzzah_circuitpython_put.sh View File

@ -28,7 +28,7 @@ for NAME in testing
do
find ${NAME} -name '*.py'| \
grep -v -E '^testing/implementation/micropython*' | \
grep -v -E '^testing/mcp.py' | \
grep -v -E '^testing/adafruit_blinka.py' | \
xargs -n1 -I {} sh -c "echo Copying {} ...; ampy --port ${PORT} put {} {}"
done

python/upload_feather_huzzah_micropython_put.sh → test/scripts/upload_feather_huzzah_micropython_put.sh View File


python/upload_feather_m0_watch.py → test/scripts/upload_feather_m0_watch.py View File

@ -18,7 +18,7 @@ command = (
# prefer unittest.mpy bytecode
'--exclude="/unittest.py" '
# should never be used by tests targeting feather m0
'--exclude="mcp" '
'--exclude="adafruit_blinka" '
# don't upload upload https://www.youtube.com/watch?v=iEwW6D0sht0
'--exclude="upload_*_watch.py" '
# recurse in search

python/upload_pyboard_watch.py → test/scripts/upload_pyboard_watch.py View File


Loading…
Cancel
Save