mirror of
https://github.com/intel/isa-l.git
synced 2024-12-13 09:52:56 +01:00
7ab24b769e
Change-Id: Ia5d57d8e1c0037ecf3d235651adcc33913049c94 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
38 lines
586 B
Bash
Executable File
38 lines
586 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e #exit on fail
|
|
|
|
# Override defaults if exist
|
|
READLINK=readlink
|
|
command -V greadlink >/dev/null 2>&1 && READLINK=greadlink
|
|
|
|
|
|
out="$PWD"
|
|
src=$($READLINK -f $(dirname $0))/..
|
|
cd "$src"
|
|
|
|
[ -z "$1" ] && ./tools/test_checks.sh
|
|
|
|
while [ -n "$1" ]; do
|
|
case "$1" in
|
|
check )
|
|
./tools/test_checks.sh
|
|
shift ;;
|
|
ext )
|
|
./tools/test_extended.sh
|
|
shift ;;
|
|
format )
|
|
shift ;;
|
|
all )
|
|
./tools/test_checks.sh
|
|
./tools/test_extended.sh
|
|
shift ;;
|
|
* )
|
|
echo $0 undefined option: $1
|
|
shift ;;
|
|
esac
|
|
done
|
|
|
|
./tools/check_format.sh
|
|
|