sanitycheck: outdir should not be relative to ZEPHYR_BASE

We should leave ZEPHYR_BASE alone and create the test output wherever
we are running.
This will support running sanitycheck on test roots other than zephyr's
main git repo.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-11-20 11:51:34 -05:00 committed by Carles Cufí
commit f114a1383d

View file

@ -2532,8 +2532,9 @@ def parse_arguments():
"--footprint-threshold=0")
parser.add_argument(
"-O", "--outdir",
default="%s/sanity-out" % ZEPHYR_BASE,
default="%s/sanity-out" % os.getcwd(),
help="Output directory for logs and binaries. "
"Default is 'sanity-out' in the current directory. "
"This directory will be deleted unless '--no-clean' is set.")
parser.add_argument(
"-n", "--no-clean", action="store_true",