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 / tests / gates / omega-shlib.gate
| 1 | # Omega-built AArch64 shared libraries (bridge/shlib): the generator bridge/shlib/shlib.om and the gate |
| 2 | # bridge/shlib/gate.om are seeded Omega. The gate builds the test library, an import library and its dependency, |
| 3 | # the Omega RM fake transport, libomega-ampere-qmd.so.1 and libnvidia-ml.so.1 (real bodies over gpu/nvidia/native/nvml) from omc object-mode |
| 4 | # output, loads each through the system's dynamic loader with an Omega-written probe, reads each through its |
| 5 | # section headers with /usr/bin/readelf (a read-only oracle: soname, needed libraries and exports), checks the stack |
| 6 | # probe and register save words in the wrappers, checks a second build is byte-identical, and requires each of |
| 7 | # its controls (listed in gate.om's header) to be caught; run.sh pins the summary line. |
| 8 | # Host only; it opens no device. |
| 9 | gate: OMEGA-SHLIB |
| 10 | manifest_version: 2 |
| 11 | owner: omega |
| 12 | requires: |
| 13 | - host |
| 14 | inputs: |
| 15 | - bridge/shlib/ |
| 16 | - gpu/nvidia/native/nvml/ |
| 17 | - gpu/nvidia/om/encoder/amp_runtime.om |
| 18 | - gpu/nvidia/om/encoder/amp_qmd.om |
| 19 | - seed/out/ |
| 20 | - seed/ng/sha256.om |
| 21 | - tests/gates/omega-shlib.gate |
| 22 | - tests/gates/run.sh |
| 23 | run: |
| 24 | exec: tests/gates/run.sh |
| 25 | args: ["shlib"] |
| 26 | expects: |
| 27 | exit: 0 |
| 28 | verdict: PASS |
| 29 | timeout: 30m |
| 30 | exactness: EXACT |
| 31 | cache_scope: machine |