databuild/scripts/bb_test_all

10 lines
201 B
Bash
Executable file

#!/usr/bin/env bash
ROOT_DIR=$(pwd)
bazel test //...
ANY_FAILED=0
for EXAMPLE in $(ls examples); do
echo "\nTesting examples/$EXAMPLE"
cd $ROOT_DIR/examples/$EXAMPLE
bazel test //...
done