-
Notifications
You must be signed in to change notification settings - Fork 796
[SYCL][Unit Tests] Fix regression after https://github.com/intel/llvm/pull/19687 #20534
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 3 commits
194e20b
360c60e
c8999d6
8d543d7
69b4775
02ae68a
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| add_sycl_unittest(CompressionTests OBJECT | ||
| CompressionTests.cpp | ||
| ) | ||
| target_compile_definitions(CompressionTests_non_preview PRIVATE SYCL_RT_ZSTD_AVAILABLE) | ||
| target_compile_definitions(CompressionTests_preview PRIVATE SYCL_RT_ZSTD_AVAILABLE __INTEL_PREVIEW_BREAKING_CHANGES) | ||
| target_compile_definitions(CompressionTests_Non_Preview_Tests PRIVATE SYCL_RT_ZSTD_AVAILABLE) | ||
| target_compile_definitions(CompressionTests_Preview_Tests PRIVATE SYCL_RT_ZSTD_AVAILABLE __INTEL_PREVIEW_BREAKING_CHANGES) |
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |||||||||||||||
| #include <fstream> | ||||||||||||||||
| #include <regex> | ||||||||||||||||
|
|
||||||||||||||||
| TEST(ConfigTests, CheckConfigProcessing) { | ||||||||||||||||
| TEST(ConfigTests, DISABLED_CheckConfigProcessing) { | ||||||||||||||||
|
||||||||||||||||
| add_lit_testsuite(check-sycl-combined-triples "Running device-agnostic SYCL regression tests for all available triples" | |
| ${CMAKE_CURRENT_BINARY_DIR} | |
| ARGS ${RT_TEST_ARGS} | |
| PARAMS "SYCL_TRIPLE=${TRIPLES}" | |
| DEPENDS ${SYCL_TEST_DEPS} | |
| ${SYCL_TEST_EXCLUDE} | |
| ) |
And therefore it is by default launched in highly parallel mode by LIT where each TEST is a separate LIT test and can be run in parallel with other tests.
So yes, our CI simply runs everything sequentially in one thread, hence no races. LIT runs everything in parallel - and I assume that working directory for all tests is the same, so conf.txt file that we create is shared by more then one tests (i.e. its preview and non-preview versions)
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.
Makes a lot of sense. Thanks!
Uh oh!
There was an error while loading. Please reload this page.