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 / crates / aien-runtime / tests / np1_v5_rows_test.rs

38 lines · 1605 bytes Raw Blame History
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026 Drake Stapleton (AIEN / aien-dev)
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! NEXT-PHASE-1 v5: runs the shell negative tests of the ACCEPTANCE-v5 receipt
17//! rows (docs/campaigns/next-phase-1/test-rows-v5.sh) under `cargo test`.
18//! Needs bash and jq; a missing tool fails the test, it is never skipped.
19use std::path::Path;
20use std::process::Command;
21
22#[test]
23fn acceptance_v5_rows_fail_on_v4_reply_and_synthetic_failures() {
24 let script = Path::new(env!("CARGO_MANIFEST_DIR"))
25 .join("../../docs/campaigns/next-phase-1/test-rows-v5.sh");
26 assert!(script.is_file(), "missing {}", script.display());
27 let out = Command::new("bash")
28 .arg(&script)
29 .output()
30 .expect("bash must be installed to run the v5 receipt tests");
31 let stdout = String::from_utf8_lossy(&out.stdout);
32 let stderr = String::from_utf8_lossy(&out.stderr);
33 assert!(
34 out.status.success(),
35 "test-rows-v5.sh failed\n{stdout}\n{stderr}"
36 );
37 assert!(stdout.contains(" 0 failed"), "{stdout}");
38}