Skip to content

i#7245: Fix test race by using unique dirs#7246

Merged
derekbruening merged 1 commit intomasterfrom
i7245-v2p-clobber-dir
Feb 4, 2025
Merged

i#7245: Fix test race by using unique dirs#7246
derekbruening merged 1 commit intomasterfrom
i7245-v2p-clobber-dir

Conversation

@derekbruening
Copy link
Copy Markdown
Contributor

Fixes a bug where the new tlb_simulator_v2p test used the same directory as the existing altbindir test. Both tests were then clobbering each other's files. This is solved by using unique names.

Further improves the altbindir test by dynamically removing the trace/ directory, since the test is supposed to test post-processing but wasn't if run more than once in the same build directory.

Fixes #7245

Fixes a bug where the new tlb_simulator_v2p test used the same
directory as the existing altbindir test.  Both tests were then
clobbering each other's files.  This is solved by using unique names.

Further improves the altbindir test by dynamically removing the trace/
directory, since the test is supposed to test post-processing but
wasn't if run more than once in the same build directory.

Fixes #7245
@derekbruening derekbruening requested a review from edeiana February 3, 2025 20:28
@derekbruening derekbruening merged commit 41e3c60 into master Feb 4, 2025
17 checks passed
@derekbruening derekbruening deleted the i7245-v2p-clobber-dir branch February 4, 2025 04:30
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.

tool.drcacheoff.altbindir failing, suspect culprit is new tool.drcacheoff.tlb_simulator_v2p_basedir test

2 participants