Fixing V2 tests

Change-Id: Ib25502c6ca6cdfdcd40122f811902293a6bb2165
Este commit está contenido en:
Ammar ELWazir
2023-06-22 14:27:01 +00:00
padre a7709de6d7
commit 46420f040e
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
@@ -821,7 +821,7 @@ TEST_F(DerivedMetricsReuseTest, WhenRunningRepeatedBaseMetricsAPIsWorkFine) {
counters.emplace_back("GRBM_GUI_ACTIVE");
counters.emplace_back("ALUStalledByLDS");
CheckApi(rocprofiler_create_session(ROCPROFILER_KERNEL_REPLAY_MODE, &session_id));
CheckApi(rocprofiler_create_session(ROCPROFILER_NONE_REPLAY_MODE, &session_id));
rocprofiler_buffer_id_t buffer_id;
CheckApi(rocprofiler_create_buffer(session_id, FlushCallback, 0x9999, &buffer_id));
+2 -1
Ver fichero
@@ -33,12 +33,12 @@ std::string binary_path;
std::string profiler_api_lib_path = "";
static void init_test_path() {
metrics_path = "libexec/rocprofiler/counters/derived_counters.xml";
if (is_installed_path()) {
running_path = "share/rocprofiler/tracer/runTracerFeatureTests";
lib_path = "lib/rocprofiler/librocprofiler_tool.so";
golden_trace_path = "share/rocprofiler/tests/featuretests/tracer/apps/goldentraces/";
test_app_path = "share/rocprofiler/tests/featuretests/tracer/apps/";
metrics_path = "libexec/rocprofiler/counters/derived_counters.xml";
binary_path = "bin/rocprofv2";
profiler_api_lib_path = "/lib";
} else {
@@ -46,6 +46,7 @@ static void init_test_path() {
lib_path = "librocprofiler_tool.so";
golden_trace_path = "tests-v2/featuretests/tracer/apps/goldentraces/";
test_app_path = "tests-v2/featuretests/tracer/apps/";
metrics_path = "counters/derived_counters.xml";
binary_path = "rocprofv2";
}
}