mirror of
https://github.com/siemens-mobile-hacks/pmb887x-dev.git
synced 2026-11-25 18:37:25 +00:00
16 lines
356 B
Bash
Executable file
16 lines
356 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
set -o pipefail
|
|
set -x
|
|
|
|
test_name="$1"
|
|
shift
|
|
board=${BOARD:-siemens-el71}
|
|
build_dir="build/$board"
|
|
|
|
cmake_args=(-B "$build_dir" -DBOARD="$board" -DBOOT=extram -DTEST_COLOR="${TEST_COLOR:-ON}")
|
|
|
|
cmake "${cmake_args[@]}"
|
|
cmake --build "$build_dir" --target "$test_name"
|
|
|
|
../boot.sh "$build_dir/$test_name.bin" "$@" | awk -f tap-result.awk
|