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 / omc / om2 / s1 / s1-mutants.cases
| 1 | # S1 compiled mutants of omc.om (each built by the compiler under test from a one-place mutation of |
| 2 | # seed/omc/omc.om). Expected verdicts, fixed in advance: every ctl-* case PASS (a self-built compiler |
| 3 | # without a mutation), every m-* case FAIL (the mutation is detected). The list ends OM2GATE FAIL. |
| 4 | deadline 60 |
| 5 | cc seed/omc/omc.om |
| 6 | ctl-rot run seed/omc/om2/s1/rot.om - - - 0 |
| 7 | ctl-rot-trap run seed/omc/om2/s1/rot-trap-var.om - - - 107 |
| 8 | ctl-hex-max run seed/omc/om2/s1/hex-max.om - - - 0 |
| 9 | ctl-hex-upper refuse seed/omc/om2/s1/bad-hex-upper.om 6 |
| 10 | ctl-om1-names run seed/omc/om2/s1/om1-names.om - - - 2 |
| 11 | ctl-kw-long-names run seed/omc/om2/s1/kw-long-names.om - - - 0 |
| 12 | ctl-fmt emit seed/omc/om2/s1/fmt-in.om file:seed/omc/om2/s1/fmt-out.txt - 0 |
| 13 | ctl-diag-unknown emit seed/omc/om2/s1/diag-unknown.om - file:seed/omc/om2/s1/diag-unknown.err 3 |
| 14 | ctl-diag-newpt emit seed/omc/om2/s1/diag-newpt.om - file:seed/omc/om2/s1/diag-newpt.err 16 |
| 15 | # rotl by a number becomes rotr |
| 16 | subst seed/omc/om2/s1/mut/rotl.from seed/omc/om2/s1/mut/rotl.to |
| 17 | cc seed/omc/omc.om |
| 18 | m-rotl run seed/omc/om2/s1/rot.om - - - 0 |
| 19 | # the rotate amount check (trap 7) is dropped |
| 20 | subst seed/omc/om2/s1/mut/rchk.from seed/omc/om2/s1/mut/rchk.to |
| 21 | cc seed/omc/omc.om |
| 22 | m-rchk run seed/omc/om2/s1/rot-trap-var.om - - - 107 |
| 23 | # hex digit a..f value off by one |
| 24 | subst seed/omc/om2/s1/mut/hexd.from seed/omc/om2/s1/mut/hexd.to |
| 25 | cc seed/omc/omc.om |
| 26 | m-hexd run seed/omc/om2/s1/hex-max.om - - - 0 |
| 27 | # uppercase hex digits accepted |
| 28 | subst seed/omc/om2/s1/mut/hexU.from seed/omc/om2/s1/mut/hexU.to |
| 29 | cc seed/omc/omc.om |
| 30 | m-hexU refuse seed/omc/om2/s1/bad-hex-upper.om 6 |
| 31 | # OM-2 words leak into OM-1 units (opt-in check removed) |
| 32 | subst seed/omc/om2/s1/mut/optin.from seed/omc/om2/s1/mut/optin.to |
| 33 | cc seed/omc/omc.om |
| 34 | m-optin run seed/omc/om2/s1/om1-names.om - - - 2 |
| 35 | # fmt respaces next to a parenthesis |
| 36 | subst seed/omc/om2/s1/mut/paren.from seed/omc/om2/s1/mut/paren.to |
| 37 | cc seed/omc/omc.om |
| 38 | m-paren emit seed/omc/om2/s1/fmt-in.om file:seed/omc/om2/s1/fmt-out.txt - 0 |
| 39 | # diag: an undeclared function is no longer sev=unknown |
| 40 | subst seed/omc/om2/s1/mut/unk.from seed/omc/om2/s1/mut/unk.to |
| 41 | cc seed/omc/omc.om |
| 42 | m-unk emit seed/omc/om2/s1/diag-unknown.om - file:seed/omc/om2/s1/diag-unknown.err 3 |
| 43 | # an undeclared type name (a struct not yet declared) is no longer sev=unknown expect=name |
| 44 | subst seed/omc/om2/s1/mut/tyunk.from seed/omc/om2/s1/mut/tyunk.to |
| 45 | cc seed/omc/omc.om |
| 46 | m-tyunk emit seed/omc/om2/s1/diag-newpt.om - file:seed/omc/om2/s1/diag-newpt.err 16 |
| 47 | # fn name: the keyword test applied to the first 8 bytes of a name of 9..63 bytes (continue_x read as continue) |
| 48 | # kwlong: the keyword check of a name of 9..63 bytes reads its first 8 bytes (tw8), so continue_x is read as continue |
| 49 | subst seed/omc/om2/s1/mut/kwlong.from seed/omc/om2/s1/mut/kwlong.to |
| 50 | cc seed/omc/omc.om |
| 51 | m-kwlong run seed/omc/om2/s1/kw-long-names.om - - - 0 |