diff options
| author | Jim Fehrle | 2019-02-26 21:53:25 -0800 |
|---|---|---|
| committer | Jim Fehrle | 2019-03-01 10:24:22 -0800 |
| commit | 7b3779b27be9221def05a341d79ddd45540b4280 (patch) | |
| tree | eb62ace17e46101aa22597d2bad3e5e56cab7653 /test-suite/ocaml_pwd.ml | |
| parent | ae998e3049cd581d21c4fe0e8e18466ed9131546 (diff) | |
Set COQLIB so the test suite will run locally on Windows.
Diffstat (limited to 'test-suite/ocaml_pwd.ml')
| -rw-r--r-- | test-suite/ocaml_pwd.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-suite/ocaml_pwd.ml b/test-suite/ocaml_pwd.ml index 10ca52a4a9..afa3deea3a 100644 --- a/test-suite/ocaml_pwd.ml +++ b/test-suite/ocaml_pwd.ml @@ -1,7 +1,7 @@ let _ = - let ch_dir = Sys.argv.(1) in + let quoted = Sys.argv.(1) = "-quoted" in + let ch_dir = Sys.argv.(if quoted then 2 else 1) in Sys.chdir ch_dir; let dir = Sys.getcwd () in - (* Needed for windows *) - let dir = Filename.quote dir in + let dir = if quoted then Filename.quote dir else dir in Format.printf "%s%!" dir |
