summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcortex-strings-bench.sh2
-rw-r--r--cortex-strings-bench.yaml3
2 files changed, 2 insertions, 3 deletions
diff --git a/cortex-strings-bench.sh b/cortex-strings-bench.sh
index cee7cc3..dfbb9e7 100755
--- a/cortex-strings-bench.sh
+++ b/cortex-strings-bench.sh
@@ -29,6 +29,6 @@ run "git clone git://git.linaro.org/people/bernie.ogden/kernel_module"
run "cd kernel_module && make ARCH=arm EXTRA_CFLAGS=\"$3\" -C /usr/src/linux-headers-$(uname -r) SUBDIRS=\$PWD modules && insmod modex.ko"
run "mkdir cortex-strings-build"
run "cd cortex-strings-build && CFLAGS=\"$3\" ../cortex-strings/configure && make -j -l $cores"
-run "${topdir}/controlled_run.sh \"date && cat /dev/modex && cd ${topdir}/cortex-strings-build && python ../cortex-strings/scripts/bench.py -f $1 -v $2 && cat /dev/modex && date\" > controlled_stdout 2> controlled_stderr"
+run "${topdir}/controlled_run.sh \"date && cat /dev/modex && cd ${topdir}/cortex-strings-build && python ../cortex-strings/scripts/bench.py -f $1 -v $2 && cat /dev/modex && date\" 2>&1 | tee controlled_output"
run "rmmod modex"
diff --git a/cortex-strings-bench.yaml b/cortex-strings-bench.yaml
index 1ebd48f..173206e 100644
--- a/cortex-strings-bench.yaml
+++ b/cortex-strings-bench.yaml
@@ -23,6 +23,5 @@ install:
run:
steps:
- ./cortex-strings-bench.sh "$CORTEX_STRINGS_FUNCTIONS" "$CORTEX_STRINGS_LIBRARIES" "$CORTEX_STRINGS_CFLAGS"
- - "lava-test-run-attach controlled_stdout text/plain"
- - "lava-test-run-attach controlled_stderr text/plain"
+ - "lava-test-run-attach controlled_output text/plain"
- "lava-test-run-attach cortex-strings-build/cache.txt text/plain"