Skip to content

Randomize layout regression test addition #20

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 3 commits into from
Feb 25, 2019

Conversation

tim-pugh
Copy link
Member

When you enter into the build folder and run make clang-test you are executing the clang regression test suite.

This addition fixes the test suite failing with the addition of our attribute RandomizeLayout by modifying the file llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test and adding our attribute to the run of checked attributes.

You must add additions in alphabetical order, hence it showing up in the middle.

This commit is to resolve the identification of the RandomizeLayout
attribute to the regression test suite. Without this, running "make clang-test" will
result in a failure due to it identifying an attribute but not having it
included in:

../clang/test/Misc/pragma-attribute-supported-attributes-list.test.

This protects against the addition/removal of attributes.
@tim-pugh tim-pugh changed the base branch from master to develop February 22, 2019 00:43
Tim Pugh added 2 commits February 22, 2019 00:51
This commit is to resolve the identification of the RandomizeLayout
attribute to the regression test suite. Without this, running "make clang-test" will
result in a failure due to it identifying an attribute but not having it
included in:

../clang/test/Misc/pragma-attribute-supported-attributes-list.test.

This protects against the addition/removal of attributes.

Co-authored-by:Nikk <nforbus@pdx.edu>
Copy link

@connorkuehl connorkuehl left a comment

Choose a reason for hiding this comment

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

👍 Nice job!

[100%] Running the Clang regression tests
llvm-lit: /home/kuehlcon/llvm-project/llvm/utils/lit/lit/llvm/config.py:337: note: using clang: /home/kuehlcon/llvm-project/build/bin/clang
Testing Time: 419.34s
  Expected Passes    : 14089
  Expected Failures  : 19
  Unsupported Tests  : 62
[100%] Built target check-clang
Scanning dependencies of target clang-test
[100%] Built target clang-test

@connorkuehl connorkuehl merged commit 12c5b41 into develop Feb 25, 2019
connorkuehl added a commit that referenced this pull request Feb 25, 2019
tim-pugh pushed a commit that referenced this pull request Feb 26, 2019
This reverts commit b47a59e, reversing
changes made to 753b226.
@connorkuehl connorkuehl deleted the RandomizeLayout_Regression_Test_Addition branch July 6, 2019 15:06
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.

3 participants