[Kimchi-devel] [PATCH] [Wok 1/3] Do not sort tests on Wok

Aline Manera alinefm at linux.vnet.ibm.com
Thu Feb 16 17:20:46 UTC 2017


Wok does not have model vs mock model tests so there is no need to sort
them.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 tests/run_tests.sh.in | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/tests/run_tests.sh.in b/tests/run_tests.sh.in
index a259bda..64e6e49 100644
--- a/tests/run_tests.sh.in
+++ b/tests/run_tests.sh.in
@@ -2,7 +2,7 @@
 #
 # Project Wok
 #
-# Copyright IBM Corp, 2013-2016
+# Copyright IBM Corp, 2013-2017
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -40,16 +40,4 @@ else
     CMD="python -m unittest"
 fi
 
-LIST=($ARGS)
-MODEL_LIST=()
-MOCK_LIST=()
-for ((i=0;i<${#LIST[@]};i++)); do
-
-    if [[ ${LIST[$i]} == test_model* ]]; then
-        MODEL_LIST+=(${LIST[$i]})
-    else
-        MOCK_LIST+=(${LIST[$i]})
-    fi
-done
-
-PYTHONPATH=../src:../ $CMD $OPTS ${MODEL_LIST[@]} ${MOCK_LIST[@]}
+PYTHONPATH=../src:../ $CMD $OPTS $ARGS
-- 
2.9.3



More information about the Kimchi-devel mailing list