From: Denys Dmytriyenko <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
lib/run-opentest | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/lib/run-opentest b/lib/run-opentest
index ab65b5f..fb9ffd5 100644
--- a/lib/run-opentest
+++ b/lib/run-opentest
@@ -231,6 +231,15 @@ run_target_side_test() {
esac
fi
+ skern=""
+ fwinit=""
+ case $machine in
+ k2hk-evm|k2e-evm|k2g-evm|k2l-evm )
+ skern="~skern_file=$(ls
$test_dir/temp/board-support/prebuilt-images/skern-*.bin)"
+ fwinit="~initramfs=$(ls
$test_dir/temp/board-support/prebuilt-images/k2-fw-initrd.cpio.gz)"
+ ;;
+ esac
+
bootattempts=""
boottimeout=""
if [ -n $OPENTEST_BOOT_ATTEMPTS ]
@@ -268,8 +277,8 @@ run_target_side_test() {
fi
# Call opentest framework. Echo the command being used for logging
- echo "java -jar $OPENTEST_JAR --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git
--options \"priority 0\" --params script=/$TEST_SCRIPTS_TGT/opentest.sh"
- java -jar $OPENTEST_JAR --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git
--options "priority 0" --params script=/$TEST_SCRIPTS_TGT/opentest.sh
+ echo "java -jar $OPENTEST_JAR --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot$skern$fwinit$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git
--options \"priority 0\" --params script=/$TEST_SCRIPTS_TGT/opentest.sh"
+ java -jar $OPENTEST_JAR --template penguin --hw
platform=$oplatform,$OPENTEST_HW_CAP --sw
kernel=$kernel$dtb~kernel_modules=$spluart$uboot$skern$fwinit$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git
--options "priority 0" --params script=/$TEST_SCRIPTS_TGT/opentest.sh
################################################################################
# Check the results of the opentest run.
--
2.2.0
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago