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
omega-mv / seed / host / execenv / execenv.cases
| 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | # seed/host/execenv/execenv.cases: execenv (keyword 233), run by the OM-2 conductor |
| 3 | # (seed/qualification/om2/gate.om) from seed/host/check.sh. Expected: OM2GATE PASS cases=11. |
| 4 | # fixture: seed/host/execenv/execenv.om re-executes itself with an exact three-entry environment |
| 5 | # (parent exit 0 = all 15 checks hold; see its notes). x86-fixture: the same source for x86linux, |
| 6 | # run through binfmt qemu-x86_64 (emulator evidence, not hardware qualification). |
| 7 | # oracle: /usr/bin/printenv is an ORACLE (independent host binary, never shipped); it must print |
| 8 | # exactly the three entries. oracle-execprog is the negative control: execprog gives it none. |
| 9 | # Each mutant compiler is built from seed/omc/omc.om with one execenv emission changed; the fixture |
| 10 | # built by it must fail at the named check (exit = check number), so the fixture detects the mutant. |
| 11 | deadline 120 |
| 12 | fixture run seed/host/execenv/execenv.om - - - 0 |
| 13 | x86-fixture run seed/host/execenv/x86-target.om+seed/host/execenv/execenv.om - - - 0 |
| 14 | oracle run seed/host/execenv/oracle.om - file:seed/host/execenv/printenv.want - 0 |
| 15 | oracle-execprog run seed/host/execenv/oracle.om - - - 0 negative |
| 16 | fnmode refuse seed/host/execenv/fnmode.om 9 |
| 17 | x86-fnmode refuse seed/host/execenv/x86-target.om+seed/host/execenv/fnmode.om 9 |
| 18 | contract refuse seed/host/execenv/contract.om 30 |
| 19 | subst seed/host/execenv/mutants/a64-envp.from seed/host/execenv/mutants/a64-envp.to |
| 20 | cc seed/omc/omc.om |
| 21 | mut-a64-envp run seed/host/execenv/execenv.om - - - 1 |
| 22 | cc pinned |
| 23 | subst seed/host/execenv/mutants/a64-nonempty.from seed/host/execenv/mutants/a64-nonempty.to |
| 24 | cc seed/omc/omc.om |
| 25 | mut-a64-nonempty run seed/host/execenv/execenv.om - - - 4 |
| 26 | cc pinned |
| 27 | subst seed/host/execenv/mutants/x86-envp.from seed/host/execenv/mutants/x86-envp.to |
| 28 | cc seed/omc/omc.om |
| 29 | mut-x86-envp run seed/host/execenv/x86-target.om+seed/host/execenv/execenv.om - - - 1 |
| 30 | cc pinned |
| 31 | subst seed/host/execenv/mutants/x86-firstonly.from seed/host/execenv/mutants/x86-firstonly.to |
| 32 | cc seed/omc/omc.om |
| 33 | mut-x86-firstonly run seed/host/execenv/x86-target.om+seed/host/execenv/execenv.om - - - 13 |
| 34 | cc pinned |