From: Denys Dmytriyenko <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
lib/run-opentest | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/lib/run-opentest b/lib/run-opentest
index 98a7dc8..c502764 100644
--- a/lib/run-opentest
+++ b/lib/run-opentest
@@ -213,6 +213,14 @@ run_target_side_test() {
OPENTEST_TEE_IP="128.247.105.52"
fi
+ # if OPENTEST_TEE_IP is set to "none", disable assigning to a specific TEE
+ if [ "$OPENTEST_TEE_IP" == "none" ]
+ then
+ ASSIGN_TO_TEE=""
+ else
+ ASSIGN_TO_TEE="~assign_to_tees=\"vatf on $OPENTEST_TEE_IP\""
+ fi
+
# if OPENTEST_HW_CAP is not set in config, default to "linux"
if [ -z $OPENTEST_HW_CAP ]
then
@@ -220,8 +228,8 @@ run_target_side_test() {
fi
# Call opentest framework. Echo the command being used for logging
- echo "java -jar opentest_cli_0.7.jar --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot~nfs=$ipaddr:$nfs_dir~assign_to_tees=\"vatf
on $OPENTEST_TEE_IP\" --params script=/$TEST_SCRIPTS_TGT/opentest.sh"
- java -jar opentest_cli_0.7.jar --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot~nfs=$ipaddr:$nfs_dir~assign_to_tees="vatf
on $OPENTEST_TEE_IP" --params script=/$TEST_SCRIPTS_TGT/opentest.sh
+ echo "java -jar opentest_cli_0.7.jar --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE
--params script=/$TEST_SCRIPTS_TGT/opentest.sh"
+ java -jar opentest_cli_0.7.jar --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE
--params script=/$TEST_SCRIPTS_TGT/opentest.sh
################################################################################
# Check the results of the opentest run.
--
1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago