Fix reduced pipeline by excluding test case standalone op (#11458)

* exclude reduce build from standalone op test

* exclude test from reduced op build
This commit is contained in:
RandySheriffH 2022-05-06 16:19:49 -07:00 committed by GitHub
parent 3624f7c5a5
commit 8467af832f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<Input> inputs(1);
Input& input = inputs[0];