[kvm-unit-tests PATCH 2/3] run_tests: pass test name to run script

Andrew Jones
2015-08-03T17:51:58Z

With this $TEST_DIR/run can output test specific error messages.

Signed-off-by: Andrew Jones <drjones@redhat.com>
---
run_tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.sh b/run_tests.sh
index ebb7e9fe6fdfc..80b87823c3358 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -46,7 +46,7 @@ function run()
fi
done

- cmdline="./$TEST_DIR-run $kernel -smp $smp $opts"
+ cmdline="TESTNAME=$testname ./$TEST_DIR-run $kernel -smp $smp $opts"
if [ $verbose != 0 ]; then
echo $cmdline
fi
--
2.4.3