Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/scripts/test_local_tools_udp.sh # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / scripts / test_local_tools_udp.sh` 15 lines ยท 760 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # UDP adapter oracle for the local-tools courier path, synthetic result bytes. 3 # Real CPL3 execution is covered separately by scripts/qemu_ck_local_tools_test.sh. 4 # Builds the C model oracle and C wire test, then runs them against the Rust relay. 5 set -euo pipefail 6 cd "$(dirname "$0")/.." 7 tmp=$(mktemp -d "${TMPDIR:-/tmp}/local_tools_udp.XXXXXX") 8 trap 'rm -rf "$tmp"' EXIT 9 cc="${HOSTCC:-cc}" 10 for unit in local_tools_model_oracle local_tools_udp_test; do 11 "$cc" -std=c11 -D_DEFAULT_SOURCE -O2 -Wall -Wextra -Werror \ 12 -o "$tmp/$unit" "native/kernel/x86/tests/$unit.c" 13 done 14 cargo build -q -p allen-courier 15 "$tmp/local_tools_udp_test" "$tmp/local_tools_model_oracle" "${ALLEN_RELAY:-${CARGO_TARGET_DIR:-target}/debug/allen-courier}"