]>
dreyeck.freedombox.rocks Git - topic-maps.git/blob - scripts/test.sh
3 project_root
=$
(CDPATH
= cd -- "$(dirname -- "$0")/.." && pwd)
4 python3
"$project_root/scripts/corpus.py" verify
5 python3
-m unittest discover
-s "$project_root/tests" -p 'test_*.py'
6 "${SBCL:-sbcl}" --noinform --no-sysinit --no-userinit --non-interactive \
7 --load "$project_root/scripts/fresh-sbcl.lisp"
8 python3
"$project_root/scripts/check-nfc.py"
9 if [ -n "${TOPIC_MAPS_REPORT:-}" ]; then
10 python3
"$project_root/scripts/check-report.py" "$TOPIC_MAPS_REPORT" --slice-8
11 python3
"$project_root/scripts/check-semantics.py" "$TOPIC_MAPS_REPORT.semantics.json"
12 python3
"$project_root/scripts/check-merging.py" "$TOPIC_MAPS_REPORT.merging.json"
13 python3
"$project_root/scripts/check-associations.py" "$TOPIC_MAPS_REPORT.associations.json"
14 python3
"$project_root/scripts/check-cxtm.py" "$TOPIC_MAPS_REPORT.cxtm.json" --slice-8
15 python3
"$project_root/scripts/check-occurrences.py" "$TOPIC_MAPS_REPORT.occurrences.json"
16 python3
"$project_root/scripts/check-prefixes.py" "$TOPIC_MAPS_REPORT.prefixes.json"
17 python3
"$project_root/scripts/check-integers.py" "$TOPIC_MAPS_REPORT.integers.json"
18 python3
"$project_root/scripts/check-decimals.py" "$TOPIC_MAPS_REPORT.decimals.json"