From 8467af832fea0e22daaac268f2a39921364ff7e3 Mon Sep 17 00:00:00 2001 From: RandySheriffH <48490400+RandySheriffH@users.noreply.github.com> Date: Fri, 6 May 2022 16:19:49 -0700 Subject: [PATCH] Fix reduced pipeline by excluding test case standalone op (#11458) * exclude reduce build from standalone op test * exclude test from reduced op build --- onnxruntime/test/shared_lib/test_inference.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/onnxruntime/test/shared_lib/test_inference.cc b/onnxruntime/test/shared_lib/test_inference.cc index d20cd97f9a..28459856fc 100644 --- a/onnxruntime/test/shared_lib/test_inference.cc +++ b/onnxruntime/test/shared_lib/test_inference.cc @@ -405,7 +405,8 @@ TEST(CApiTest, custom_op_handler) { #endif } -#if !defined(ORT_MINIMAL_BUILD) +#if !defined(ORT_MINIMAL_BUILD) && !defined(REDUCED_OPS_BUILD) +//disable test in reduced-op-build since TOPK and GRU are excluded there TEST(CApiTest, instant_op_handler) { std::vector inputs(1); Input& input = inputs[0];