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:
parent
f18ad9dd4b
commit
f114a1383d
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue