interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / e2e_tests / run_e2e_tests.sh

56 lines · 2589 bytes Raw Blame History
1#!/usr/bin/env bash
2# SPDX-License-Identifier: Apache-2.0
3# Copyright 2026 Drake Stapleton (AIEN / aien-dev)
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17set -euo pipefail
18
19# AIEN Sovereign Core E2E Test Suite Runner
20# Executes all 4 tiers: Feature Coverage, Boundaries, Interactions, Real-World Workflows
21
22SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
23WORKSPACE_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
24
25echo "================================================================="
26echo "AIEN Sovereign Core: TinyLlama Real-Model Execution E2E Test Suite"
27echo "================================================================="
28echo "Workspace: ${WORKSPACE_ROOT}"
29echo "Manifest: ${SCRIPT_DIR}/Cargo.toml"
30echo "Target: ${WORKSPACE_ROOT}/target"
31echo ""
32
33echo ">>> Phase 1: Checking Build & Dependency Compilation..."
34cargo check --manifest-path "${SCRIPT_DIR}/Cargo.toml" --target-dir "${WORKSPACE_ROOT}/target"
35
36echo ""
37echo ">>> Phase 2: Executing Tier 1 (Feature Coverage: 90 tests)..."
38cargo test --manifest-path "${SCRIPT_DIR}/Cargo.toml" --target-dir "${WORKSPACE_ROOT}/target" --test test_tier1_feature_coverage -- --nocapture
39
40echo ""
41echo ">>> Phase 3: Executing Tier 2 (Boundary & Corner Cases: 90 tests)..."
42cargo test --manifest-path "${SCRIPT_DIR}/Cargo.toml" --target-dir "${WORKSPACE_ROOT}/target" --test test_tier2_boundaries -- --nocapture
43
44echo ""
45echo ">>> Phase 4: Executing Tier 3 (Cross-Feature Interactions: 18 tests)..."
46cargo test --manifest-path "${SCRIPT_DIR}/Cargo.toml" --target-dir "${WORKSPACE_ROOT}/target" --test test_tier3_cross_feature -- --nocapture
47
48echo ""
49echo ">>> Phase 5: Executing Tier 4 (Real-World Application Scenarios: 9 tests)..."
50cargo test --manifest-path "${SCRIPT_DIR}/Cargo.toml" --target-dir "${WORKSPACE_ROOT}/target" --test test_tier4_real_world -- --nocapture
51
52echo ""
53echo "================================================================="
54echo "All 207 E2E tests passed successfully across all 4 tiers."
55echo "Status: TEST_READY certified."
56echo "================================================================="