#!/usr/bin/env bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR SAILDIR="$DIR/../.." rm -f $DIR/tests.xml # shellcheck source=../test_helpers.sh source "$SAILDIR/test/test_helpers.sh" printf "\n" >> $DIR/tests.xml if make -B -C ../../aarch64_small armV8.lem SAIL="$SAILDIR/sail" then green "built aarch64_small to lem" "ok" else red "failed to build lem" "fail" fi if make -B -C ../../aarch64_small armV8.smt_model SAIL="$SAILDIR/sail" then green "compiled aarch64_small for SMT generation" "ok" else red "failed to build aarch64_small for SMT generation" "fail" fi finish_suite "aarch64_small tests" printf "\n" >> $DIR/tests.xml