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

Update line numbers in .good for #24127 #24226

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

vasslitvinov
Copy link
Member

This PR reacts to #24127 analogously to #24157, following the same argument in favor of changing the line numbers vs. introducing a prediff.

Additionally, it reflects a reduction in the allocation/freeing size of [domain(1,int(64),one)] int(64) from 168 to 160 bytes. I did not investigate where that comes from.

Signed-off-by: Vassily Litvinov <vasslitvinov@users.noreply.github.com>
@vasslitvinov vasslitvinov merged commit 20bc40b into chapel-lang:main Jan 18, 2024
7 checks passed
@vasslitvinov vasslitvinov deleted the fix-basicMem-linenum branch January 18, 2024 21:25
vasslitvinov added a commit that referenced this pull request Jan 20, 2024
This extends the prediff for basicMem.chpl to canonicalize the size of
`[domain(1,int(64),one)] int(64)` in the "allocate"/"free" lines
of the test's output.

In #24226 I changed basicMem.good to contain 160 instead of the previous 168
bytes in those lines. I did so based on the test behavior that I
observed on my laptop. However apparently that size is platform-dependent
because it is still 168 bytes in our nightly testing.

Since the test is not intended to lock in the size of the array, this PR
makes the prediff replace any size between 100 and 199 bytes with "1nn".

Trivial, not reviewed.
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.

2 participants