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/omnet/blob/main/om/tkasig/test/run.sh # omnet aien-dev/omnet 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 `omnet / om / tkasig / test / run.sh` 12 lines ยท 453 bytes Raw Blame History 1 #!/bin/sh 2 set -eu 3 ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/../../.." && pwd) 4 OMC=${1:-$("$ROOT/tools/omc.sh")} 5 GO=${GO:-go} 6 BUILD=$(mktemp -d) 7 trap 'rm -rf "$BUILD"' EXIT HUP INT TERM 8 if [ "${REGEN:-0}" = 1 ]; then 9 (cd "$ROOT/om/tkasig/test" && GOTOOLCHAIN=local "$GO" run -mod=readonly oracle.go) > "$BUILD/vectors.jsonl" 10 cp "$BUILD/vectors.jsonl" "$ROOT/om/tkasig/test/vectors.jsonl" 11 fi 12 python3 "$ROOT/om/tkasig/test/check.py" "$OMC" "$BUILD"