From 22f58382bce8cb13775b6e41da8cee69c925196a Mon Sep 17 00:00:00 2001
From: typhoonzero <typhoonzero1986@gmail.com>
Date: Tue, 17 Apr 2018 17:03:00 +0800
Subject: [PATCH] run dist train test single process

---
 python/paddle/fluid/tests/unittests/CMakeLists.txt              | 2 ++
 .../unittests/{test_dist_train_op.py => test_dist_train.py}     | 0
 2 files changed, 2 insertions(+)
 rename python/paddle/fluid/tests/unittests/{test_dist_train_op.py => test_dist_train.py} (100%)

diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt
index 356c3e64b3..435652547f 100644
--- a/python/paddle/fluid/tests/unittests/CMakeLists.txt
+++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt
@@ -62,6 +62,7 @@ list(REMOVE_ITEM TEST_OPS test_registry)
 list(REMOVE_ITEM TEST_OPS test_fetch_var)
 list(REMOVE_ITEM TEST_OPS test_parallel_op)
 list(REMOVE_ITEM TEST_OPS test_dynrnn_static_input)
+list(REMOVE_ITEM TEST_OPS test_dist_train)
 
 # tests that can be bundled together in one python process for speed.
 if(WITH_FAST_BUNDLE_TEST)
@@ -100,3 +101,4 @@ py_test_modules(test_registry MODULES test_registry)
 py_test_modules(test_fetch_var MODULES test_fetch_var)
 py_test_modules(test_dynrnn_static_input MODULES test_dynrnn_static_input)
 py_test_modules(test_parallel_op MODULES test_parallel_op)
+py_test_modules(test_dist_train MODULES test_dist_train)
diff --git a/python/paddle/fluid/tests/unittests/test_dist_train_op.py b/python/paddle/fluid/tests/unittests/test_dist_train.py
similarity index 100%
rename from python/paddle/fluid/tests/unittests/test_dist_train_op.py
rename to python/paddle/fluid/tests/unittests/test_dist_train.py
-- 
GitLab