From 5ee29c67b881ac7ae4a7a62df2169ecee2b0b1ca Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Tue, 3 Mar 2020 16:51:06 +0800 Subject: [PATCH] Set run exclusive for data loader unittest (#22831) --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 1185312886e..33c715e7261 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -364,3 +364,7 @@ set_tests_properties(test_parallel_executor_test_while_train test_parallel_execu test_data_norm_op test_imperative_using_non_zero_gpu test_fuse_bn_act_pass test_optimizer_in_control_flow test_fetch_unmerged test_buffer_shared_memory_reuse_pass PROPERTIES LABELS "RUN_TYPE=DIST") + +if(NOT WIN32 AND NOT APPLE) + set_tests_properties(test_imperative_data_loader PROPERTIES LABELS "RUN_TYPE=EXCLUSIVE" RUN_SERIAL TRUE) +endif() -- GitLab