(rule
 (with-stdout-to
  tests.output
  (run
   %{bin:wasm_of_ocaml}
   pp
   --enable
   a
   --disable
   b
   --set
   c=1
   %{dep:tests.txt})))

(rule
 (alias runtest)
 (action
  (diff tests.expected tests.output)))

(cram
 (deps %{bin:wasm_of_ocaml}))
