commit | 50ec1af6c24ab25052f35d959b708fb1ad7fd5ce | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Tue Jun 02 00:42:52 2015 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Tue Jun 02 08:50:49 2015 -0700 |
tree | dc1810d92acb66d7f2a11764c4babba1b068ed4f | |
parent | 1d126d38dc5bf27d7d2071162ca85fc9c1f83388 [diff] [blame] |
Enhancing STC Change-Id: If9429cc6a30333bd27b579825fe6b1fac221cf60
diff --git a/tools/test/bin/stc b/tools/test/bin/stc index fd201b6..ba956b4 100755 --- a/tools/test/bin/stc +++ b/tools/test/bin/stc
@@ -13,4 +13,8 @@ [ ! -f $scenario ] && scenario=$scenario.xml [ ! -f $scenario ] && echo "Scenario $scenario file not found" && exit 1 -java -jar $JAR $scenario +[ $# -ge 1 ] && shift + +[ -t 1 ] && stcColor=true || unset stcColor + +java -jar $JAR $scenario "$@"