Use a test-specific name for each generated file.
This lets us run multiple tests in parallel (and know what we've got lying
around on our devices).
Change-Id: I90ecc4ceaae0ee4b323d861c2b408e2944a2f8c1
diff --git a/test/run-test b/test/run-test
index fb758d7..4132a9d 100755
--- a/test/run-test
+++ b/test/run-test
@@ -196,6 +196,8 @@
chmod 755 "$build"
chmod 755 "$run"
+export TEST_NAME=`basename ${test_dir}`
+
good="no"
if [ "$dev_mode" = "yes" ]; then
"./${build}" 2>&1
@@ -248,7 +250,7 @@
echo '####################'
echo ' '
fi
- echo "files left in ${tmp_dir}"
+ echo "${TEST_NAME} files left in ${tmp_dir}"
) 1>&2
exit 1