diff options
| author | Damien Doligez <damien.doligez@inria.fr> | 2017-09-16 19:15:48 +0200 |
|---|---|---|
| committer | Damien Doligez <damien.doligez@inria.fr> | 2017-09-16 19:15:48 +0200 |
| commit | 5ca7ee882e20a67f4a5ce65ca48ca5e4403b3b57 (patch) | |
| tree | f1420ca3d65444f06d604807db78dba5412ec4fd | |
| parent | 6a85360cd361885fbdb59c1e933fc7606159d8e8 (diff) | |
| download | ocaml-5ca7ee882e20a67f4a5ce65ca48ca5e4403b3b57.tar.gz | |
fix windows-incompatibility bug in tests/ppx-context/Makefile
| -rw-r--r-- | testsuite/tests/ppx-contexts/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/ppx-contexts/Makefile b/testsuite/tests/ppx-contexts/Makefile index e0fb29399c..82b8dc44f6 100644 --- a/testsuite/tests/ppx-contexts/Makefile +++ b/testsuite/tests/ppx-contexts/Makefile @@ -5,13 +5,13 @@ INCLUDES=\ -I $(OTOPDIR)/utils \ -I $(OTOPDIR)/compilerlibs +myppx=$(shell $(CYGPATH) '$(OCAMLRUN)') ./program$(EXE) + .PHONY: run run: program$(EXE) test.reference @echo " ... testing -thread and -vmthread are propagated to PPX:" - @$(OCAMLC) -c -thread -ppx '$(OCAMLRUN) ./program$(EXE)' test.ml \ - 2> test.result - @$(OCAMLC) -c -vmthread -ppx '$(OCAMLRUN) ./program$(EXE)' test.ml \ - 2>> test.result + @$(OCAMLC) -c -thread -ppx '$(myppx)' test.ml 2> test.result + @$(OCAMLC) -c -vmthread -ppx '$(myppx)' test.ml 2>> test.result @$(DIFF) test.reference test.result >/dev/null \ && echo " => passed" || echo " => failed" |
