Miscellaneous Testing Fixes + CMake find_package include guard (#1106)
* Improve ROCPROFILER_DEFAULT_FAIL_REGEX * Support find_package called twice * Skip iteration of ROCPROFILER_AGENT_TYPE_CPU * Relax tests/rocprofv3/summary * Tweak to rocprofiler-sdk-tool/tool.cpp * Move rocprofv3-trigger-list-metrics to libexec * Remove PC_SAMPLING_TESTS_REGEX from CI workflow * Update packaging - core component depends on roctx component * Increase verbosity for failing tests * Fix RPATH of rocprofv3-trigger-list-metrics --------- Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
This commit is contained in:
committed by
GitHub
parent
bfe80a4428
commit
a92fa8f071
@@ -33,10 +33,11 @@ def pytest_addoption(parser):
|
||||
action="store",
|
||||
help="Path to summary markdown file.",
|
||||
)
|
||||
pd.set_option("display.max_rows", None)
|
||||
pd.set_option("display.max_columns", None)
|
||||
|
||||
pd.set_option("display.width", 2000)
|
||||
pd.set_option("display.max_colwidth", None)
|
||||
# increase debug display of pandas dataframes
|
||||
for itr in ["rows", "columns", "colwidth"]:
|
||||
pd.set_option(f"display.max_{itr}", None)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
@@ -185,7 +185,7 @@ def test_summary_data(json_data):
|
||||
)
|
||||
assert oitr.value.count == 2
|
||||
elif itr.domain == "HIP_API":
|
||||
assert itr.stats.count >= 2130 and itr.stats.count <= 2140
|
||||
assert itr.stats.count >= 2130 and itr.stats.count <= 2150
|
||||
elif itr.domain == "MEMORY_COPY":
|
||||
assert itr.stats.count == 12
|
||||
elif itr.domain == "MARKER_API":
|
||||
|
||||
Reference in New Issue
Block a user