[CI] Disable conversion script validation (#492)
- pytest fails when you selectively disable all the tests in the suite
[ROCm/rocprofiler-sdk commit: 99e262ca4a]
This commit is contained in:
@@ -30,10 +30,6 @@ project(
|
||||
|
||||
find_package(rocprofiler-sdk REQUIRED)
|
||||
|
||||
if(ROCPROFILER_DISABLE_UNSTABLE_CTESTS)
|
||||
set(PYTEST_ARGS -k "not test_validate_counter_collection_pmc1")
|
||||
endif()
|
||||
|
||||
# copy to binary directory
|
||||
rocprofiler_configure_pytest_files(COPY validate.py input.txt conftest.py
|
||||
CONFIG pytest.ini)
|
||||
@@ -109,6 +105,14 @@ foreach(i RANGE 0 ${convert_test_length})
|
||||
"${ROCPROFILER_DEFAULT_FAIL_REGEX}")
|
||||
set_tests_properties(
|
||||
${validate_test_name}
|
||||
PROPERTIES TIMEOUT 45 LABELS "integration-tests" DEPENDS ${test_name}
|
||||
FAIL_REGULAR_EXPRESSION "${ROCPROFILER_DEFAULT_FAIL_REGEX}")
|
||||
PROPERTIES TIMEOUT
|
||||
45
|
||||
LABELS
|
||||
"integration-tests"
|
||||
DEPENDS
|
||||
${test_name}
|
||||
FAIL_REGULAR_EXPRESSION
|
||||
"${ROCPROFILER_DEFAULT_FAIL_REGEX}"
|
||||
DISABLED
|
||||
"${ROCPROFILER_DISABLE_UNSTABLE_CTESTS}")
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user