Move the Chez test oracle off Janet
The unit tests in test/chez/_*.janet now drive bin/joltc (the zero-Janet spine) and judge against baked expected values instead of a live build/jolt run. Ten of them captured the oracle from build/jolt per case; their values are now literals (one env-dependent javastatic case became a predicate so it stays portable). The rest already had literal expecteds with a redundant build/jolt sanity check, now dropped. Retire emit-test/emit-parity/reader-parity: they compared the Chez/Clojure path against a live Janet evaluation, emitter, or reader. That migration check is done, and run-corpus-zero-janet (Chez analyzer vs the JVM corpus) plus certify.clj cover correctness now. Rewrite the README for the current zero-Janet gate. jolt-5oci
This commit is contained in:
parent
8d4f83e0f7
commit
9a273e71cd
21 changed files with 205 additions and 1510 deletions
|
|
@ -1,10 +1,10 @@
|
|||
# jolt-yxqm — namespace value model (find-ns/ns-name/all-ns/resolve/ns-publics/
|
||||
# in-ns/*ns* …). TDD harness: drives bin/jolt-chez -e per case (fresh subprocess
|
||||
# in-ns/*ns* …). TDD harness: drives bin/joltc -e per case (fresh subprocess
|
||||
# = per-case isolation), checks the LAST printed line == expected. Expected
|
||||
# values are the JVM-canonical reference (build/jolt), captured up front.
|
||||
# values are the JVM-canonical reference, baked per case.
|
||||
#
|
||||
# janet test/chez/_ns.janet
|
||||
(def jolt-bin (or (os/getenv "JOLT_BIN") "bin/jolt-chez"))
|
||||
(def jolt-bin (or (os/getenv "JOLT_BIN") "bin/joltc"))
|
||||
|
||||
# [label expr expected-last-line]
|
||||
(def cases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue