-
Notifications
You must be signed in to change notification settings - Fork 8
Add feature to disable building select C++ tests #57
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 1 commit
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,6 +1,11 @@ | ||
| # Set global paths and initialize test list | ||
| set(ALL_TEST_TARGETS "") | ||
|
|
||
| # List of tests to skip These tests are currently disabled due to known issues | ||
| # or pending fixes. | ||
| set(SKIP_TESTS test_batch_prefill test_layout_transform | ||
| test_mfma_fp32_16x16x16fp16 test_cascade) | ||
|
rtmadduri marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Include centralized config utilities | ||
| include(ConfigureTargets) | ||
|
|
||
|
|
@@ -13,6 +18,12 @@ if(FLASHINFER_ENABLE_HIP) | |
|
|
||
| foreach(test_source IN LISTS HIP_TEST_SOURCES) | ||
| get_filename_component(test_name ${test_source} NAME_WE) | ||
|
|
||
| if(test_name IN_LIST SKIP_TESTS) | ||
|
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. I do not think this is the right approach. I will still like to have build targets for the broken tests. Having a build target will help during development when a broken test is getting fixed or otherwise needs reevaluation. I suggest the target should not be added to the
Author
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. Are you suggesting something like
Author
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. Wouldnt this only work for tests that build successfully but fail during runtime? Right now |
||
| message(STATUS "Skipping HIP test: ${test_name}") | ||
| continue() | ||
| endif() | ||
|
|
||
| set(target_name "${test_name}_hip") | ||
| configure_flashinfer_target( | ||
| TARGET_NAME ${target_name} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.