Merge pull request #996 from rgrinberg/remove-ppx-rewriter-test

Remove ppx test that relies on ppx_driver
This commit is contained in:
Rudi Grinberg 2018-07-11 17:28:24 +07:00 committed by GitHub
commit fb47664ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 17 deletions

View File

@ -4,13 +4,3 @@
((name w_omp_driver)
(modules w_omp_driver)
(preprocess (pps (fooppx -flag (-arg omp))))))
(executable
((name w_ppx_driver)
(modules w_ppx_driver)
(preprocess (pps (ppx_driver.runner)))))
(executable
((name w_ppx_driver_flags)
(modules w_ppx_driver_flags)
(preprocess (pps (fooppx -flag (-arg omp) ppx_driver.runner)))))

View File

@ -9,13 +9,7 @@
ocamlc .w_omp_driver.eobjs/w_omp_driver.{cmi,cmo,cmt}
ocamlopt .w_omp_driver.eobjs/w_omp_driver.{cmx,o}
ocamlopt w_omp_driver.exe
$ dune build ./w_ppx_driver.exe --display short
ocamlopt .ppx/jbuild/ppx_driver.runner/ppx.exe
ppx w_ppx_driver.pp.ml
ocamldep .w_ppx_driver.eobjs/w_ppx_driver.pp.ml.d
ocamlc .w_ppx_driver.eobjs/w_ppx_driver.{cmi,cmo,cmt}
ocamlopt .w_ppx_driver.eobjs/w_ppx_driver.{cmx,o}
ocamlopt w_ppx_driver.exe
This test is broken because ppx_driver doesn't support migrate custom arguments
# $ dune build ./w_ppx_driver_flags.exe --display short
$ dune build && dune exec -- ocamlfind opt -package fooppx -ppxopt "fooppx,-flag" -linkpkg w_omp_driver.ml -o w_omp_driver.exe