← 输入框|github.com|刷新
Skip to content

Corrected Error Message - #1515

Merged
certik merged 5 commits into
lcompilers:mainfrom
faze-geek:try
Feb 21, 2023
Merged

certik merged 5 commits into
lcompilers:mainfrom
faze-geek:try

Conversation

@faze-geek

Copy link
Copy Markdown
Contributor

Fixes a typo in src/libasr/codegen/asr_to_wasm.cpp

test()
File "tests/runtime_errors/test_assert_01.py", line 2
assert False
warning: The `runtime stacktrace` is not enabled. To get the stacktraces, re-build LPython with `-DWITH_RUNTIME_STACKTRACE=yes`

@Thirumalai-Shaktivel Thirumalai-Shaktivel Feb 13, 2023 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use --skip-run-with-dbg, while you update tests in Windows, so do python run_tests.py -u --skip-run-with-dbg. I forgot to document this in the README.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It isn't changing anything locally though.

@Thirumalai-Shaktivel Thirumalai-Shaktivel Feb 13, 2023 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. This is correct as our tests do not test the above change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I correct the failing ubuntu and macos tests ? Manually changing back the run-with-dbg files ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undo the updated references and force push here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My apologies for an incorrect attempt at reverting the initial commit. Now I have undone the updated references successfully.

@czgdp1807
czgdp1807 marked this pull request as draft February 13, 2023 16:28
@faze-geek
faze-geek marked this pull request as ready for review February 21, 2023 15:11

@czgdp1807 czgdp1807 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be squashed and merged.

@certik
certik merged commit 4bf7c4d into lcompilers:main Feb 21, 2023
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.

4 participants