From 48eff096648415f0250a48cd2a7c73b2b550762d Mon Sep 17 00:00:00 2001 From: Scott McKay Date: Mon, 26 Jun 2023 16:36:22 +1000 Subject: [PATCH] Fix file list for test of build with IO debug (#16474) ### Description Update file list to adjust for recent changes to test infra. ### Motivation and Context --- cmake/onnxruntime_unittests.cmake | 3 ++- onnxruntime/test/providers/cpu/math/einsum_test.cc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmake/onnxruntime_unittests.cmake b/cmake/onnxruntime_unittests.cmake index 6414fa3535..0f028278c0 100644 --- a/cmake/onnxruntime_unittests.cmake +++ b/cmake/onnxruntime_unittests.cmake @@ -1306,10 +1306,11 @@ if (NOT onnxruntime_ENABLE_TRAINING_TORCH_INTEROP) "${TEST_SRC_DIR}/framework/test_utils.cc" "${TEST_SRC_DIR}/providers/base_tester.h" "${TEST_SRC_DIR}/providers/base_tester.cc" + "${TEST_SRC_DIR}/providers/checkers.h" + "${TEST_SRC_DIR}/providers/checkers.cc" "${TEST_SRC_DIR}/providers/op_tester.h" "${TEST_SRC_DIR}/providers/op_tester.cc" "${TEST_SRC_DIR}/providers/provider_test_utils.h" - "${TEST_SRC_DIR}/providers/provider_test_utils.cc" "${TEST_SRC_DIR}/providers/tester_types.h" ${onnxruntime_unittest_main_src} LIBS ${onnxruntime_test_providers_libs} ${onnxruntime_test_common_libs} diff --git a/onnxruntime/test/providers/cpu/math/einsum_test.cc b/onnxruntime/test/providers/cpu/math/einsum_test.cc index 595e935748..b7758fd2fd 100644 --- a/onnxruntime/test/providers/cpu/math/einsum_test.cc +++ b/onnxruntime/test/providers/cpu/math/einsum_test.cc @@ -435,7 +435,7 @@ TEST(Einsum, ExplicitEinsumAsBatchedDiagonalOp_1) { TEST(Einsum, ImplicitEinsumAsDiagonalOp) { // TODO: Unskip when fixed #41968513 if (DefaultDmlExecutionProvider().get() != nullptr) { - GTEST_SKIP() << "Skipping because of the following error: provider_test_utils.cc(284): error: The difference between expected[i] and output[i] is 5, which exceeds threshold"; + GTEST_SKIP() << "Skipping because of the following error: The difference between expected[i] and output[i] is 5, which exceeds threshold"; } OpTester test("Einsum", 12, onnxruntime::kOnnxDomain); @@ -448,7 +448,7 @@ TEST(Einsum, ImplicitEinsumAsDiagonalOp) { TEST(Einsum, ImplicitEinsumAsDiagonalOp_1) { // TODO: Unskip when fixed #41968513 if (DefaultDmlExecutionProvider().get() != nullptr) { - GTEST_SKIP() << "Skipping because of the following error: provider_test_utils.cc(284): error: The difference between expected[i] and output[i] is 15, which exceeds threshold"; + GTEST_SKIP() << "Skipping because of the following error: error: The difference between expected[i] and output[i] is 15, which exceeds threshold"; } OpTester test("Einsum", 12, onnxruntime::kOnnxDomain);