interplane.Get Omega
Read in your language

omnet

aien-dev/omnet

Brought by drakestapleton

branch main Branches Tags History

omnet / cmd / tkad / test / run.sh

14 lines · 685 bytes Raw Blame History
1#!/bin/sh
2# SPDX-License-Identifier: Apache-2.0
3set -eu
4root=$(CDPATH= cd -- "$(dirname -- "$0")/../../.." && pwd)
5if [ "${REGEN:-0}" = 1 ] || [ ! -f "$root/cmd/tkad/test/fixture.json" ]; then
6 (cd "$root/om/tka/test/oracle" && "${GO:-go}" run -mod=readonly "$root/cmd/tkad/test/fixture.go") > "$root/cmd/tkad/test/fixture.json"
7fi
8bin=$(sh "$root/tools/build-tkad.sh")
9python3 "$root/cmd/tkad/test/smoke.py" "$bin"
10python3 "$root/cmd/tkad/test/mutant.py" "$root" "$bin"
11python3 "$root/cmd/tkad/test/rollover.py" "$root" "$bin"
12python3 "$root/cmd/tkad/test/directory.py" "$bin"
13python3 "$root/cmd/tkad/test/identity.py" "$bin"
14python3 "$root/cmd/tkad/test/faults.py" "$root" "$bin"