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/tools/test.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 / tools / test.sh` 18 lines ยท 462 bytes Raw Blame History 1 #!/bin/sh 2 # Run library and executable suites with the pinned compiler path as $1. 3 # Each suite exits 0 only when its behavior checks pass. 4 set -eu 5 root=$(cd "$(dirname "$0")/.." && pwd) 6 omc=$("$root/tools/omc.sh") 7 fail=0 8 for t in "$root"/om/*/test/run.sh "$root"/cmd/*/test/run.sh; do 9 [ -f "$t" ] || continue 10 unit=$(basename "$(dirname "$(dirname "$t")")") 11 if sh "$t" "$omc"; then 12 echo "PASS $unit" 13 else 14 echo "FAIL $unit" 15 fail=1 16 fi 17 done 18 exit "$fail"