Skip to content
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

Patch rewrite tests #3456

Merged
merged 3 commits into from
Jun 27, 2019
Merged

Patch rewrite tests #3456

merged 3 commits into from
Jun 27, 2019

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jul 16, 2018

This splits off the tests added in #3449. Three tasks remain for this PR:

  • The debug_sections should be converted to be an int option String.Map.t so that there is internally at least the option to have different levels for different sections.
  • OPAMDEBUGSECTIONS needs adding (either just supporting a list of sections, or full-blown support for specifying levels as well)
  • The test cases and the harness are still the result of my iterative hacking, and need tidying up...

Allows debugging output to be trimmed to specific sections only.
If the debug_sections map is empty, then debug_level applies to all
sections. However, if the map is non-empty then only sections in the
map will display debug messages, using debug_level if the mapped
value is None.
@dra27 dra27 mentioned this pull request Jul 18, 2018
@rjbou
Copy link
Collaborator

rjbou commented Jul 19, 2018

The conflict comes from doc change for temp_file.

@dra27 dra27 force-pushed the patch-rewrite-tests branch 2 times, most recently from 034e275 to 1f3f792 Compare July 21, 2018 12:35
src/core/opamStd.ml Outdated Show resolved Hide resolved
tests/patcher.ml Outdated Show resolved Hide resolved
src/core/opamConsole.ml Outdated Show resolved Hide resolved
src/core/opamConsole.ml Outdated Show resolved Hide resolved
src/core/opamConsole.ml Outdated Show resolved Hide resolved
src/client/opamArg.ml Outdated Show resolved Hide resolved
@rjbou
Copy link
Collaborator

rjbou commented Jun 25, 2019

lgtm,thanks!

@AltGr AltGr merged commit 13079ad into ocaml:master Jun 27, 2019
@dra27 dra27 deleted the patch-rewrite-tests branch June 27, 2019 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants