summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2014-01-22 13:25:35 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2014-01-22 13:25:35 +0530
commitb674b305d81632f0ff191eb1de91b4a141e5dfcc (patch)
tree957d5b62d16f64270b40c394bbe58d354b59369c
parent0c8305faa1b7b20502f20f870f33a48f7123ee5c (diff)
install-wa.exp: expect script to install workload automation
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-xinstall-wa.exp6
-rwxr-xr-xwa2.sh7
2 files changed, 12 insertions, 1 deletions
diff --git a/install-wa.exp b/install-wa.exp
new file mode 100755
index 0000000..4b1e4e6
--- /dev/null
+++ b/install-wa.exp
@@ -0,0 +1,6 @@
+#!/usr/bin/expect
+
+spawn ./wa2/wlauto-2.1.3dev-external.sh
+expect "Please type y to accept, n otherwise:"
+send "y\n"
+interact
diff --git a/wa2.sh b/wa2.sh
index 9404228..1f61d1e 100755
--- a/wa2.sh
+++ b/wa2.sh
@@ -9,6 +9,11 @@ DEBIAN_FRONTEND=noninteractive apt-get -y install expect
chmod 777 clone-install.exp
./clone-install.exp
echo "cloning is successful"
+chmod 777 install-wa.exp
+./install-wa.exp
+
cd wa2/
ls
-pwd
+pwd
+
+run_workloads