Add tool to copy all clones in test dependencies dir
This commit is contained in:
committed by
Alexandre Paillier
parent
b7af62dc13
commit
34d1e8737e
12
tools/copy_clones.sh
Executable file
12
tools/copy_clones.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DEVICES=(nanos nanos2 nanox stax flex)
|
||||||
|
|
||||||
|
for dev in "${DEVICES[@]}"; do
|
||||||
|
elf_file="build/${dev}/bin/app.elf"
|
||||||
|
if [[ -f ${elf_file} ]]; then
|
||||||
|
cp "${elf_file}" "tests/ragger/.test_dependencies/clone/build/${dev}/bin/"
|
||||||
|
else
|
||||||
|
echo "Ignoring unknown file/dev: ${elf_file}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user