omni/hack/test/integration.sh
Edward Sammut Alessi d3ae77c0cc
chore: bump copyright to 2026
Bump copyright for conformance to 2026

Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
2026-01-21 15:30:49 +01:00

41 lines
889 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2026 Sidero Labs, Inc.
#
# Use of this software is governed by the Business Source License
# included in the LICENSE file.
set -eoux pipefail
TEST_CLASS="${TEST_CLASS:-none}"
echo "Checking test class: $TEST_CLASS"
case "$TEST_CLASS" in
"integration-talemu")
echo "Starting Integration Tests with talemu..."
./hack/test/integration-talemu.sh
;;
"integration-qemu")
echo "Starting Integration Tests with QEMU..."
./hack/test/integration-qemu.sh
;;
"e2e-qemu")
echo "Starting End-to-End Tests with QEMU..."
./hack/test/e2e-qemu.sh
;;
"e2e-talemu")
echo "Starting End-to-End Tests with talemu..."
./hack/test/e2e-talemu.sh
;;
*)
# The catch-all (default) case if nothing matches
echo "Error: Unknown TEST_CLASS '$TEST_CLASS'. Please use integration-talemu, integration-qemu, e2e-qemu or e2e-talemu."
exit 1
;;
esac