-
Notifications
You must be signed in to change notification settings - Fork 796
[SYCL][Test] Make testsuite respect SYCL_LIB_DUMPS_ONLY #14879
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
Changes from 5 commits
1d5a436
c20a242
0454727
564048c
db859fb
1a5a09a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,8 @@ | |
| import os | ||
| import re | ||
|
|
||
| SUFFIXES = {'.hpp'} | ||
|
|
||
|
|
||
| class SYCLHeadersTest(lit.formats.TestFormat): | ||
| def getTestsForPath( | ||
|
|
@@ -21,7 +23,8 @@ def getTestsInDirectory(self, testSuite, path_in_suite, litConfig, localConfig): | |
| for dirpath, _, filenames in os.walk(source_path): | ||
| relative_dirpath = dirpath[len(localConfig.sycl_include) + 1 :] | ||
| for filename in filenames: | ||
| if not filename.endswith(".hpp"): | ||
| suffix = os.path.splitext(filename)[1] | ||
| if suffix not in SUFFIXES or suffix not in litConfig.suffixes: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ldrumm, I've just realized that this patch had completely disable the testing suite :) We don't have
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed this in #16117 |
||
| continue | ||
| filepath = os.path.join(dirpath, filename) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.