Skip to content

Avoid issue with DI gen for arrayexprs. - #7788

Merged
stuartarchibald merged 1 commit into
numba:masterfrom
stuartarchibald:fix/failing_debug_line_test
Jan 26, 2022
Merged

stuartarchibald merged 1 commit into
numba:masterfrom
stuartarchibald:fix/failing_debug_line_test

Conversation

@stuartarchibald

Copy link
Copy Markdown
Contributor

As title. Alters a test looking for breakpoints on lines that uses
arrayexprs to not use arrayexprs as #7752 leads to the arrayexpr
referencing the source line repeatedly.

Fixes #7787

As title. Alters a test looking for breakpoints on lines that uses
arrayexprs to not use arrayexprs as numba#7752 leads to the arrayexpr
referencing the source line repeatedly.

Fixes numba#7787
@stuartarchibald

Copy link
Copy Markdown
Contributor Author

Am putting this into 0.55.1 (https://github.com/numba/numba/milestone/62). #7752 is in 0.55.1 and this fixes the problem caused by #7752 as reported in #7787.

@stuartarchibald

Copy link
Copy Markdown
Contributor Author

Seems to be ok now: https://dev.azure.com/numba/ff1fe4d0-ed73-4f1c-b894-1d50a27e048f/_apis/build/builds/10911/logs/78

Note the:

(numba.tests.test_gdb_dwarf.TestGDBDwarf) ... ok
2022-01-26T12:47:43.3256589Z test_array_arg 

in the details:

Details:
2022-01-26T12:47:31.0132118Z # Now run tests based on the changes identified via git
2022-01-26T12:47:31.0133611Z NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -v -g -m $TEST_NPROCS -- numba.tests
2022-01-26T12:47:33.4847832Z Git diff identified 5 tests
2022-01-26T12:47:33.4849256Z Parallel: 5. Serial: 0
2022-01-26T12:47:33.4997556Z test (numba.tests.gdb.test_array_arg.Test) ... skipped 'needs subprocess harness'
2022-01-26T12:47:42.7649721Z test_basic (numba.tests.test_gdb_dwarf.TestGDBDwarf) ... ok
2022-01-26T12:47:43.3256589Z test_array_arg (numba.tests.test_gdb_dwarf.TestGDBDwarf) ... ok
2022-01-26T12:47:52.0595187Z test_conditional_breakpoint (numba.tests.test_gdb_dwarf.TestGDBDwarf) ... ok
2022-01-26T12:47:58.7994477Z test_break_on_symbol (numba.tests.test_gdb_dwarf.TestGDBDwarf) ... ok

@esc esc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Screen Shot 2022-01-26 at 14 04 36

Looks good from here too.

@esc esc added 5 - Ready to merge Review and testing done, is ready to merge and removed 3 - Ready for Review labels Jan 26, 2022
@stuartarchibald
stuartarchibald merged commit 324dd8f into numba:master Jan 26, 2022
esc pushed a commit to esc/numba that referenced this pull request Jan 26, 2022
…line_test

Avoid issue with DI gen for arrayexprs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge Effort - short Short size effort needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

arrayexpr file/line association in DI causing test to fail

2 participants