interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / profile / profile.cases

65 lines · 6574 bytes Raw Blame History
1# SPDX-License-Identifier: AGPL-3.0-only
2# seed/profile/profile.cases: DRA-419 critical-profile gate. Run from the repository root by
3# seed/qualification/om2/gate.om (seed/profile/check.om). Each row compiles seed/profile/profile.om with
4# the pinned omc and runs it on the named sources. Rule fixtures: seed/profile/cases/<rule>-*.om.
5# Expected: OM2GATE PASS cases=53 pass=53 fail=0 invalid=0 not_run=0
6deadline 30
7# ---- profiled modules: seed/authority action+store+lock+dispatch (full), omc recursion fixture (bounds)
8unit-authority run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/authority/action.om seed/authority/store.om seed/authority/lock.om seed/authority/dispatch.om
9unit-authority-bounds run seed/profile/profile.om - line:PROFILE-PASS - 0 bounds seed/authority/action.om seed/authority/store.om seed/authority/lock.om seed/authority/dispatch.om
10nest-bounds run seed/profile/profile.om - line:PROFILE-PASS - 0 bounds seed/omc/tests/recursion/nest.om
11ok-unit run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-unit.om
12ok-b2-nested run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-b2-nested.om
13ok-noeq run seed/profile/profile.om - line:PROFILE-PASS - 0 seed/profile/cases/ok-noeq.om
14ok-unit-stdin run seed/profile/profile.om file:seed/profile/cases/ok-unit.om line:PROFILE-PASS - 0
15# ---- one refusal per enforced rule (fixtures compile with the pinned omc; the profile is stricter)
16b1-while run seed/profile/profile.om - line:PROFILE-REFUSED:B1:4 - 1 seed/profile/cases/b1-while.om
17b1-cap run seed/profile/profile.om - line:PROFILE-REFUSED:B1:4 - 1 seed/profile/cases/b1-cap.om
18b1-var run seed/profile/profile.om - line:PROFILE-REFUSED:B1:4 - 1 seed/profile/cases/b1-var.om
19b2-noguard run seed/profile/profile.om - line:PROFILE-REFUSED:B2:4 - 1 seed/profile/cases/b2-noguard.om
20b2-limit run seed/profile/profile.om - line:PROFILE-REFUSED:B2:7 - 1 seed/profile/cases/b2-limit.om
21b2-nodepth run seed/profile/profile.om - line:PROFILE-REFUSED:B2:2 - 1 seed/profile/cases/b2-nodepth.om
22b2-entry run seed/profile/profile.om - line:PROFILE-REFUSED:B2:11 - 1 seed/profile/cases/b2-entry.om
23b2-mutual run seed/profile/profile.om - line:PROFILE-REFUSED:B2:2 - 1 seed/profile/cases/b2-mutual.om
24b2-reset run seed/profile/profile.om - line:PROFILE-REFUSED:B2:8 - 1 seed/profile/cases/b2-reset.om
25b2-else run seed/profile/profile.om - line:PROFILE-REFUSED:B2:7 - 1 seed/profile/cases/b2-else.om
26b2-arm run seed/profile/profile.om - line:PROFILE-REFUSED:B2:9 - 1 seed/profile/cases/b2-arm.om
27b2-sibling run seed/profile/profile.om - line:PROFILE-REFUSED:B2:10 - 1 seed/profile/cases/b2-sibling.om
28b2-noeq-nd run seed/profile/profile.om - line:PROFILE-REFUSED:B2:7 - 1 seed/profile/cases/b2-noeq-nd.om
29b2-noeq-depth run seed/profile/profile.om - line:PROFILE-REFUSED:B2:2 - 1 seed/profile/cases/b2-noeq-depth.om
30b3-global run seed/profile/profile.om - line:PROFILE-REFUSED:B3:2 - 1 seed/profile/cases/b3-global.om
31b3-total run seed/profile/profile.om - line:PROFILE-REFUSED:B3:4 - 1 seed/profile/cases/b3-total.om
32b3-new run seed/profile/profile.om - line:PROFILE-REFUSED:B3:3 - 1 seed/profile/cases/b3-new.om
33b3-noeq run seed/profile/profile.om - line:PROFILE-REFUSED:B3:3 - 1 seed/profile/cases/b3-noeq.om
34e1-drop run seed/profile/profile.om - line:PROFILE-REFUSED:E1:9 - 1 seed/profile/cases/e1-drop.om
35e1-overwrite run seed/profile/profile.om - line:PROFILE-REFUSED:E1:6 - 1 seed/profile/cases/e1-overwrite.om
36e1-else run seed/profile/profile.om - line:PROFILE-REFUSED:E1:8 - 1 seed/profile/cases/e1-else.om
37e1-noeq run seed/profile/profile.om - line:PROFILE-REFUSED:E1:6 - 1 seed/profile/cases/e1-noeq.om
38x1-boundary run seed/profile/profile.om - line:PROFILE-REFUSED:X1:3 - 1 seed/profile/cases/x1-boundary.om
39p1-put run seed/profile/profile.om - line:PROFILE-REFUSED:P1:5 - 1 seed/profile/cases/p1-put.om
40p1-call run seed/profile/profile.om - line:PROFILE-REFUSED:P1:8 - 1 seed/profile/cases/p1-call.om
41c1-mode run seed/profile/profile.om - line:PROFILE-REFUSED:C1:3 - 1 seed/profile/cases/c1-mode.om
42c1-release run seed/profile/profile.om - line:PROFILE-REFUSED:C1:2 - 1 seed/profile/cases/c1-release.om
43# ---- pre-fix controls on the real modules: dropped release error (E1), unbounded lock retry (B1)
44e1-dispatch-prefix run seed/profile/profile.om - line:PROFILE-REFUSED:E1:58 - 1 seed/profile/cases/dispatch-prefix.om seed/authority/action.om seed/authority/store.om seed/authority/lock.om
45b1-lock-unbounded run seed/profile/profile.om - line:PROFILE-REFUSED:B1:111 - 1 seed/profile/cases/lock-unbounded.om seed/authority/action.om seed/authority/store.om seed/authority/dispatch.om
46# ---- bounds mode skips E1/X1 only
47bounds-skips-x1 run seed/profile/profile.om - line:PROFILE-PASS - 0 bounds seed/profile/cases/x1-boundary.om
48bounds-skips-e1 run seed/profile/profile.om - line:PROFILE-PASS - 0 bounds seed/profile/cases/e1-drop.om
49bounds-keeps-b2 run seed/profile/profile.om - line:PROFILE-REFUSED:B2:4 - 1 bounds seed/profile/cases/b2-noguard.om
50bounds-keeps-c1 run seed/profile/profile.om - line:PROFILE-REFUSED:C1:2 - 1 bounds seed/profile/cases/c1-release.om
51# ---- bounded memory and stop: every capacity fails closed, hostile bytes terminate
52cap-functions run seed/profile/profile.om - line:PROFILE-INVALID - 3 seed/profile/cases/many-fns.om
53# min.om (100 bytes, 4 lines) plus stdin as a second source: limits are 65535 bytes, 4095 lines, 63-byte tokens
54cap-source-max run seed/profile/profile.om rep:32:65434 line:PROFILE-PASS - 0 seed/profile/cases/min.om /dev/stdin
55cap-source-over run seed/profile/profile.om rep:32:65435 line:PROFILE-INVALID - 3 seed/profile/cases/min.om /dev/stdin
56cap-source-huge run seed/profile/profile.om rep:10:70000 line:PROFILE-INVALID - 3
57cap-lines-max run seed/profile/profile.om rep:10:4091 line:PROFILE-PASS - 0 seed/profile/cases/min.om /dev/stdin
58cap-lines-over run seed/profile/profile.om rep:10:4092 line:PROFILE-INVALID - 3 seed/profile/cases/min.om /dev/stdin
59cap-token-max run seed/profile/profile.om rep:97:63 line:PROFILE-PASS - 0 seed/profile/cases/min.om /dev/stdin
60cap-token-over run seed/profile/profile.om rep:97:64 line:PROFILE-INVALID - 3 seed/profile/cases/min.om /dev/stdin
61empty run seed/profile/profile.om - line:PROFILE-INVALID - 3
62stop-random run seed/profile/profile.om rnd:7:60000 line:PROFILE-INVALID - 3
63stop-seq run seed/profile/profile.om seq:60000 line:PROFILE-INVALID - 3
64usage-args run seed/profile/profile.om - - any 2 x x x x x x x x x x x x x x x x x
65missing-file run seed/profile/profile.om - - - 4 seed/profile/cases/absent.om