-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Add test for via-ir codegen import bug #14565
Conversation
b7abadf
to
ab070ad
Compare
6315b07
to
071bb35
Compare
0e73776
to
0015e43
Compare
5dd2456
to
0448a3c
Compare
1d85d18
to
0396dc0
Compare
test/cmdlineTests/~bytecode_equivalence_multiple_sources/test.py
Outdated
Show resolved
Hide resolved
test/cmdlineTests/~bytecode_equivalence_multiple_sources/test.py
Outdated
Show resolved
Hide resolved
2001415
to
975b71b
Compare
975b71b
to
79cac06
Compare
f2e2232
to
fc49295
Compare
79cac06
to
41719ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more tweaks and this will be good to go.
There were more, but I changed them myself - please check the fixups and let me know if you don't like any of them.
test/cmdlineTests/~bytecode_equivalence_multiple_sources/test.py
Outdated
Show resolved
Hide resolved
scripts/common/git_helpers.py
Outdated
subprocess.check_output( | ||
f"""\ | ||
git diff \ | ||
--color \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I wanted to complain that this may not work on all platforms, but I guess it should be fine since it's git diff
and not the crappy diff
included by default with macOS, which does not seem to support --color
. Maybe we should later switch to using git for diffing in our Bash scripts too.
test/cmdlineTests/~bytecode_equivalence_multiple_sources/inputs.sol
Outdated
Show resolved
Hide resolved
test/cmdlineTests/~bytecode_equivalence_multiple_sources/inputs.sol
Outdated
Show resolved
Hide resolved
test/cmdlineTests/~bytecode_equivalence_multiple_sources/inputs.sol
Outdated
Show resolved
Hide resolved
ca75a35
to
e3b36f7
Compare
31bedce
to
18e0de7
Compare
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
18e0de7
to
ab2d395
Compare
Depends on #14562. This PR adds a CLI test case for the bug reported at #14541 as suggested by #14562 (comment). It is a simplification of the following example: #14541 (comment)