blob: 3b0719259f05c4f1e6a8b3762895b8d5d1bb190b [file] [log] [blame]
#!/bin/bash
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# A shell script for executing opentitantool as the test harness for
# functional tests.
set -e
readonly REPO_TOP="$TEST_SRCDIR/$TEST_WORKSPACE"
readonly OPENTITANTOOL="sw/host/opentitantool/opentitantool"
echo Invoking: ${OPENTITANTOOL} "$@"
RUST_BACKTRACE=1 ${OPENTITANTOOL} "$@"