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

Add test for via-ir codegen import bug #14565

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

r0qs
Copy link
Member

@r0qs r0qs commented Sep 18, 2023

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)

@r0qs r0qs added the has dependencies The PR depends on other PRs that must be merged first label Sep 18, 2023
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch from b7abadf to ab070ad Compare September 18, 2023 08:43
@r0qs r0qs changed the base branch from develop to fix-viaIR-codegen-import-bug September 18, 2023 08:44
@r0qs r0qs force-pushed the fix-viaIR-codegen-import-bug branch from 6315b07 to 071bb35 Compare September 18, 2023 08:44
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch 5 times, most recently from 0e73776 to 0015e43 Compare September 18, 2023 08:56
@r0qs r0qs marked this pull request as ready for review September 18, 2023 08:57
@r0qs r0qs requested a review from cameel September 18, 2023 08:58
@r0qs r0qs self-assigned this Sep 18, 2023
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch 2 times, most recently from 5dd2456 to 0448a3c Compare September 18, 2023 09:49
@r0qs r0qs changed the title Via ir codegen import bug test Add test for via-ir codegen import bug Sep 18, 2023
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch 2 times, most recently from 1d85d18 to 0396dc0 Compare September 18, 2023 14:59
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch 2 times, most recently from 2001415 to 975b71b Compare September 21, 2023 17:24
@r0qs r0qs requested a review from cameel September 21, 2023 17:38
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch from 975b71b to 79cac06 Compare September 21, 2023 17:47
@r0qs r0qs force-pushed the fix-viaIR-codegen-import-bug branch 2 times, most recently from f2e2232 to fc49295 Compare September 25, 2023 13:36
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch from 79cac06 to 41719ca Compare September 25, 2023 13:37
Copy link
Member

@cameel cameel left a 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.

scripts/common/cmdline_helpers.py Outdated Show resolved Hide resolved
subprocess.check_output(
f"""\
git diff \
--color \
Copy link
Member

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.

@r0qs r0qs force-pushed the fix-viaIR-codegen-import-bug branch from ca75a35 to e3b36f7 Compare September 26, 2023 12:03
@r0qs r0qs force-pushed the viaIR-codegen-import-bug-test branch 4 times, most recently from 31bedce to 18e0de7 Compare September 26, 2023 16:26
Base automatically changed from fix-viaIR-codegen-import-bug to develop September 29, 2023 21:01
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
@cameel cameel force-pushed the viaIR-codegen-import-bug-test branch from 18e0de7 to ab2d395 Compare September 29, 2023 21:18
@cameel cameel enabled auto-merge September 29, 2023 21:18
@cameel cameel removed the has dependencies The PR depends on other PRs that must be merged first label Sep 29, 2023
@cameel cameel merged commit fe1f9c6 into develop Sep 29, 2023
@cameel cameel deleted the viaIR-codegen-import-bug-test branch September 29, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants