Skip to content

Commit

Permalink
Correct Windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
wozna committed Aug 25, 2021
1 parent 50141de commit 54138e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion paddle/fluid/inference/api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ elseif (WIN32)
endif()

if(WITH_TESTING AND WITH_MKLDNN)
cc_test(test_mkldnn_quantizer SRCS mkldnn_quantizer_tester.cc DEPS paddle_inference_shared ARGS --dirname=${WORD2VEC_MODEL_DIR})
if (NOT APPLE AND NOT WIN32)
cc_test(test_mkldnn_quantizer SRCS mkldnn_quantizer_tester.cc DEPS paddle_inference_shared ARGS --dirname=${WORD2VEC_MODEL_DIR})
elseif (WIN32)
cc_test(test_mkldnn_quantizer SRCS mkldnn_quantizer_tester.cc DEPS analysis_predictor benchmark ${inference_deps}
ARGS --dirname=${WORD2VEC_MODEL_DIR})
endif()
endif()

if(WITH_TESTING AND TEST test_api_impl)
Expand Down

0 comments on commit 54138e6

Please sign in to comment.