File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
python/paddle/fluid/tests/unittests Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if(APPLE)
17
17
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=pessimizing-move" )
18
18
endif (APPLE )
19
19
20
- cc_library (tape_variable SRCS variable .cc DEPS ${FLUID_CORE_MODULES} )
20
+ cc_library (tape_variable SRCS variable .cc DEPS ${FLUID_CORE_MODULES} device_context )
21
21
cc_library (tape SRCS tape.cc DEPS ${FLUID_CORE_MODULES} ${GLOB_OP_LIB} tape_variable )
22
22
23
23
cc_test (test_tape
Original file line number Diff line number Diff line change @@ -41,12 +41,14 @@ function(py_test_modules TARGET_NAME)
41
41
endfunction ()
42
42
list (REMOVE_ITEM TEST_OPS test_warpctc_op )
43
43
list (REMOVE_ITEM TEST_OPS test_dist_train )
44
- # list(REMOVE_ITEM TEST_OPS test_parallel_executor_crf)
45
- # list(REMOVE_ITEM TEST_OPS test_parallel_executor_fetch_feed)
44
+ list (REMOVE_ITEM TEST_OPS test_parallel_executor_crf )
45
+ list (REMOVE_ITEM TEST_OPS test_parallel_executor_fetch_feed )
46
46
# TODO(wuyi): this test hungs on CI, will add it back later
47
47
list (REMOVE_ITEM TEST_OPS test_listen_and_serv_op )
48
48
foreach (TEST_OP ${TEST_OPS} )
49
49
py_test_modules (${TEST_OP} MODULES ${TEST_OP} )
50
50
endforeach (TEST_OP )
51
51
py_test_modules (test_warpctc_op MODULES test_warpctc_op ENVS FLAGS_warpctc_dir=${WARPCTC_LIB_DIR} SERIAL )
52
52
py_test_modules (test_dist_train MODULES test_dist_train SERIAL )
53
+ py_test_modules (test_parallel_executor_crf MODULES test_parallel_executor_crf SERIAL )
54
+ py_test_modules (test_parallel_executor_fetch_feed MODULES test_parallel_executor_fetch_feed SERIAL )
You can’t perform that action at this time.
0 commit comments