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

Refactor test RUN commands into a separate tool #355

Draft
wants to merge 5 commits into
base: test-command-refactoring.base
Choose a base branch
from

Conversation

mattmccutchen-cci
Copy link
Member

@mattmccutchen-cci mattmccutchen-cci commented Dec 14, 2020

Work in progress. Part of #346.

I'm currently using a PR target branch test-command-refactoring.base that I set up specifically as a merge of the changes that this PR depends on but that are not part of the PR, so we can see the proper PR diff. After the dependencies are merged, I'll change the PR target branch to the default branch.

Current status: All tests managed by the test updating programs are converted to 3c-regtest, but a few are failing verification, i.e., their existing RUN scripts didn't match the ones generated by the test updating programs.

Fixes:
- Comment about #_MARKER_#
- abspath
converted to 3c-regtest.

`llvm-lit b9_allsafestructp.c` passes, and
`./3c-regtest-unconvert.py b9_allsafestructp.c` prints its content as of
the test-command-refactoring.base branch.
3c-regtest.

Made needed enhancements to the 3c-regtest tools:

- Add support for the rest of the RUN scripts.

- Add support for RUN scripts with blank lines in the middle, as used by
  the common-testgenerator script.

A few tests are failing verification, i.e., their existing RUN scripts
didn't match the ones generated by the test updating programs.  To
investigate.
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.

1 participant