-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax tests broke between 11.0.0-alpha.6 and beta.1 #6286
Comments
How about just fix the tests. |
It seems the problem was introduced in #6249. |
To me locally they run fine on master. |
OK I see there's an exception. |
I played a bit and it seemed the problem occurs in when processing (and when commenting that out there are some other lines further down No idea yet why, or how this is related to #6249. |
So it fails here (looked at stack trace): let lid:Longident.t = Ldot (Ldot (Lident "Js", "Internal"), name) in
let (path, desc) = Env.lookup_value lid env in |
The name it can't find is |
|
let standard_library =
let ( // ) = Filename.concat in
Filename.dirname Sys.executable_name
// Filename.parent_dir_name // "lib" // "ocaml" |
So that's what's going on. The standard library is not found as it's looking for it in some non-existing path. |
This does the job, needs fixing for Windows path, but that should be it: module OutcomePrinterTests = struct
let signatureToOutcome structure =
Lazy.force Res_outcome_printer.setup;
Clflags.include_dirs := "lib/ocaml" :: !Clflags.include_dirs; (* Added this line *)
Res_compmisc.init_path ();
|
Alpha.6:
Beta.1:
I see three problems here:
The text was updated successfully, but these errors were encountered: