(executable
 (name run)
 (libraries js_of_ocaml_compiler unix str))

(rule
 (alias runtest-parser)
 (deps
  (glob_files_rec pass/*.js)
  simple.js
  package.json)
 (action
  (run ./run.exe pass)))

;; git submodule add https://github.com/tc39/test262.git test262
;; git checkout fff41f0522ede859d0880acbff066b09fc9c22a5

(rule
 (alias runtest-parser)
 (deps
  (glob_files_rec test262/test/language/*.js)
  simple.js
  package.json)
 (action
  (run ./run.exe test262/test/language)))
