-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL-MLIR] Run all tests in Basic and XFAIL the failed test cases #1519
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a good idea to enable more of the tests in the test-suite, so we get an overview of potential regressions through CI.
However, I think there might be a more elegant solution to marking tests that we currently do not yet support as such:
LLVM's lit
accepts an --xfail=LIST
option, to which you can pass a list of tests that should be considered expected failures.
So instead of modifying 50+ files to add the XFAIL
line to each of them, we could have a list of unsupported tests in single location (e.g., CMakeLists.txt
) and pass that list to the xfail
option of lit
.
What do you think?
Personally I think using the |
Agreed. I think it should be possible to initially generate the list/file from the list of failed tests during a run and store it in a separate file. This file could be included using CMake's |
That's what I tried to do first, but the That's why I simply use a quick script to add XFAIL to have the failing test. Debugged the |
Signed-off-by: Tsang, Whitney <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for changing the implementation to use a list.
Would it be possible to list one file per line, to avoid merge conflicts when two people edit the list?
Signed-off-by: Tsang, Whitney <[email protected]>
Yes, done. |
Thanks @whitneywhtsang |
…1519) Signed-off-by: Tsang, Whitney <[email protected]>
…1519) Signed-off-by: Tsang, Whitney <[email protected]>
…1519) Signed-off-by: Tsang, Whitney <[email protected]>
…1519) Signed-off-by: Tsang, Whitney <[email protected]>
…1519) Signed-off-by: Tsang, Whitney <[email protected]>
…1519) Signed-off-by: Tsang, Whitney <[email protected]>
If this is good, then will extend to test cases in other folders.
Signed-off-by: Tsang, Whitney [email protected]