Do not build libdoc in parallel 94/58894/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 13 Jun 2017 16:57:38 +0000 (12:57 -0400)
committerColin Dixon <colin@colindixon.com>
Tue, 13 Jun 2017 20:52:31 +0000 (20:52 +0000)
Attempt to fix RTD build. Suspecion is we might be starting too many
parallel processes to generate the docs and getting our process killed.

Change-Id: I6e7c98ddcd5398143bc6949038527f49d450ecd3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
(cherry picked from commit a248f1b58bad6e83be48703eb600e8038d2a4389)

docs/build-integration-robot-libdoc.sh

index dd09dbc50e6023525b26d8ff9d4e43ff9f4ee63f..afec40a843ea770f50cbc48bf528f69cd1d8449f 100755 (executable)
@@ -6,13 +6,11 @@ TMP_ROBOT_DIR=`pwd`/_build/robot
 mkdir -p $ROBOT_DIR $TMP_ROBOT_DIR
 cd submodules/integration/test/csit/libraries
 for f in *.robot; do
-    python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html &
+    python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html
 done
-wait
 for f in *.py; do
-    python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html > /dev/null 2>&1 &
+    python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html > /dev/null 2>&1
 done
-wait
 
 cd $TMP_ROBOT_DIR/
 echo "<html><body><ul>" > $ROBOT_DIR/index.html