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 / qualification / om2 / selftest / controls.cases

31 lines · 1947 bytes Raw Blame History
1# Harness controls. The verdict of every line is fixed in advance by the comment above its group;
2# the whole list must end OM2GATE INVALID (exit 3) because it contains INVALID controls.
3# --- expected PASS
4trap-103 run seed/qualification/om2/selftest/trap.om - - - 103
5refuse-11 refuse seed/qualification/om2/selftest/refuse.om 11
6killed-at-5 kill seed/qualification/om2/selftest/cat-bad.om seq:300 file:seed/qualification/om2/fixtures/gen/seq-300.bin - 0
7subst seed/qualification/om2/selftest/exit-from.txt seed/qualification/om2/selftest/exit-to.txt
8subst-exit-3 run seed/qualification/om2/selftest/cat.om - - - 3
9cc seed/omc/omc.om
10cat-rebuilt-omc run seed/qualification/om2/selftest/cat.om seq:300 file:seed/qualification/om2/fixtures/gen/seq-300.bin - 0
11cc pinned
12# --- expected FAIL
13survivor kill seed/qualification/om2/selftest/cat.om seq:300 file:seed/qualification/om2/fixtures/gen/seq-300.bin - 0
14exit-mismatch run seed/qualification/om2/selftest/cat.om - - - 1
15refuse-wrong-code refuse seed/qualification/om2/selftest/refuse.om 12
16refuse-accepted refuse seed/qualification/om2/selftest/cat.om 11
17stderr-mismatch run seed/qualification/om2/selftest/cat.om - - line:x 0
18# --- expected NOT_RUN
19planned notrun OM-2 contract not frozen
20# --- expected INVALID
21malformed run only-three
22signal run seed/qualification/om2/selftest/signal.om - - - 0
23deadline 1
24timeout run seed/qualification/om2/selftest/slow.om - - - 0
25deadline 30
26subst seed/qualification/om2/selftest/none-from.txt seed/qualification/om2/selftest/exit-to.txt
27subst-no-match run seed/qualification/om2/selftest/cat.om - - - 0
28missing-input run seed/qualification/om2/selftest/cat.om file:seed/qualification/om2/selftest/does-not-exist - - 0
29missing-source run seed/qualification/om2/selftest/does-not-exist.om - - - 0
30exit-127 run seed/qualification/om2/selftest/cat.om - - - 127
31subst seed/qualification/om2/selftest/exit-from.txt seed/qualification/om2/selftest/exit-to.txt