Debian Codegraph @

test-suite/misc/universes.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # Sort universes for the whole standard library
3 EXPECTED_UNIVERSES=2 # Prop is not counted
4 $coqc -R misc/universes Universes misc/universes/all_stdlib 2>&1
5 $coqc -R misc/universes Universes misc/universes/universes 2>&1
6 mvscip-shell system . . mv. universes.txt misc/universes
7 N=$(awkscip-shell system . . awk. '{print $3}' misc/universes/universes.txt | sortscip-shell system . . sort. -u | wcscip-shell system . . wc. -l)
8 printfscip-shell system . . printf. "Found %s/%s universes\n" "$N" "$EXPECTED_UNIVERSES"
9 if [scip-shell system . . `[`. "$N" -eq $EXPECTED_UNIVERSES ]; then exit 0; else exit 1; fi