You've already forked open-source-firmware-validation
mirror of
https://github.com/Dasharo/open-source-firmware-validation.git
synced 2026-03-06 14:51:55 -08:00
31 lines
736 B
Bash
Executable File
31 lines
736 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
source "${SCRIPT_DIR}/lib/robot.sh"
|
|
|
|
# FW_FILE and DEVICE_IP are required for full regression
|
|
check_env_variable "FW_FILE"
|
|
check_env_variable "DEVICE_IP"
|
|
|
|
if [ ! -f "$FW_FILE" ]; then
|
|
echo "Error: Environment variable FW_FILE doesn't point to a file."
|
|
exit 1
|
|
fi
|
|
|
|
_REGRESSION_RUN="True"
|
|
export _REGRESSION_RUN
|
|
|
|
check_test_station_variables
|
|
|
|
if [ -z "$NO_SETUP" ]; then
|
|
execute_robot "util/basic-platform-setup.robot" "${@}"
|
|
fi
|
|
|
|
execute_robot "util/test.robot" "${@}"
|
|
execute_robot "util/test2.robot" "${@}"
|
|
execute_robot "util/test3.robot" "${@}"
|