autotest: use inherited output_dir if it's set
Change-Id: I182ebe8dbbd650b6093ac34e52a2ff595811e047 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
84b8f0cc8b
commit
17f255e208
@ -18,10 +18,13 @@ esac
|
||||
|
||||
MAKEFLAGS=${MAKEFLAGS:--j16}
|
||||
|
||||
if [ -z "$rootdir" ] || [ ! -d "$rootdir/../output" ]; then
|
||||
output_dir=.
|
||||
else
|
||||
output_dir=$rootdir/../output
|
||||
if [ -z "$output_dir" ]; then
|
||||
if [ -z "$rootdir" ] || [ ! -d "$rootdir/../output" ]; then
|
||||
output_dir=.
|
||||
else
|
||||
output_dir=$rootdir/../output
|
||||
fi
|
||||
export output_dir
|
||||
fi
|
||||
|
||||
if hash valgrind &> /dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user