Skip to content

Fix cleanup if run_vtr_test.py generates an error. #1674

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

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

litghost
Copy link
Collaborator

Description

There is logic to cleanup the VTR working space after run_reg_test.py, but if the e flag (terminate on error) is set, then the cleanup logic never runs. This change un-sets the e flag around run_reg_test.py and forwards the result.

Related Issue

Might help with #1666

@litghost litghost requested a review from mithro February 25, 2021 20:16
@github-actions github-actions bot added the infra Project Infrastructure label Feb 25, 2021
@litghost litghost changed the title Fix cleanup if run task generates an error. Fix cleanup if run_vtr_test.py generates an error. Feb 25, 2021
Copy link
Contributor

@mithro mithro left a comment

Choose a reason for hiding this comment

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

LGTM.

@mithro
Copy link
Contributor

mithro commented Feb 25, 2021

Merge if tests go green?

@litghost litghost merged commit 21ec433 into verilog-to-routing:master Feb 26, 2021
@litghost litghost deleted the fix_cleanup_on_error branch February 26, 2021 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Project Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants