8000 implement mib_first_files support in rebar_compiler_mib by sg2342 · Pull Request #1969 · erlang/rebar3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

implement mib_first_files support in rebar_compiler_mib #1969

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

Merged
merged 2 commits into from
Dec 5, 2018

Conversation

sg2342
Copy link
Contributor
@sg2342 sg2342 commented Dec 5, 2018

mostly copy/paste from rebar_compiler_erl

fix #1968

@ferd
Copy link
Collaborator
ferd commented Dec 5, 2018

Can you include the commits from #1967 in this PR so that they can be reviewed together? It will make it easier to compare what the code validates with the rest.

@sg2342
Copy link
Contributor Author
sg2342 commented Dec 5, 2018

i will investigate the failing test on OTP 17 and OTP 18.

consider A-MIB imports from B-MIB:

rebar compile MUST FAIL if mib_first_files is ["mibs/A-MIB.mib"]
rebar compile MUST SUCCEED if mib_first_files is ["mibs/B-MIB.mib"]
mostly copy/paste from rebar_compiler_erl
@sg2342
Copy link
Contributor Author
sg2342 commented Dec 5, 2018

fixed test for OTP 17 and OTP 18 (mib compiler was not happy about the Integer TEXTUAL-CONVENTION in the test data)

@ferd ferd merged commit f564d16 into erlang:master Dec 5, 2018
@sg2342 sg2342 deleted the fix_compiler_mib branch December 5, 2018 21:27
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.

mib_first_files broken since #1893
3 participants
0