ltp: add a variable for LTP_TMPDIR
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
diff --git a/automated/linux/ltp/ltp.sh b/automated/linux/ltp/ltp.sh
index 9a28aa3..033728b 100755
--- a/automated/linux/ltp/ltp.sh
+++ b/automated/linux/ltp/ltp.sh
@@ -30,6 +30,7 @@
echo "Usage: ${0} [-T mm,math,syscalls]
[-S skipfile-lsk-juno]
[-b board]
+ [-d temp directory]
[-g branch]
[-e environment]
[-s True|False]
@@ -39,7 +40,7 @@
exit 0
}
-while getopts "M:T:S:b:g:e:s:v:R:" arg; do
+while getopts "M:T:S:b:d:g:e:s:v:R:" arg; do
case "$arg" in
T)
TST_CMDFILES="${OPTARG}"
@@ -73,6 +74,9 @@
b)
export BOARD="${OPTARG}"
;;
+ d)
+ export LTP_TMPDIR="${OPTARG}"
+ ;;
g)
export BRANCH="${OPTARG}"
;;