summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Baker <tyler.baker@linaro.org>2014-04-21 15:07:07 -0700
committerTyler Baker <tyler.baker@linaro.org>2014-04-21 15:07:07 -0700
commit4f9ab575f579620f98cc43b10e1a69ebf8b942ae (patch)
tree4033c2d97e8f03e0e3a268e9d215ac71a494779e
parent1facd4f22d64ce261fb6d7332838626bcb32a18e (diff)
attach results file
-rwxr-xr-xrun-host.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/run-host.sh b/run-host.sh
index 0796fb1..79e5d53 100755
--- a/run-host.sh
+++ b/run-host.sh
@@ -82,5 +82,11 @@ echo "Running SPEC2!"
lava-test-case spec2xxx-run --shell ./spec2xxx-run
echo "Running SPEC2 Results"
mkdir -p result
-lava-test-case spec2xxx-result --shell ./spec2xxx-result ./result
+lava-test-case spec2xxx-result --shell ./spec2xxx-result ./result
+export FILES=$(pwd)/result/*
+for file in $FILES
+do
+ lava-test-case-attach test-attach $file text/plain
+ cat $FILE
+done
lava-sync done