diff --git a/scripts/sanity_chk/sanity_daily.args b/scripts/sanity_chk/sanity_daily.args new file mode 100644 index 00000000000..05939a67cd3 --- /dev/null +++ b/scripts/sanity_chk/sanity_daily.args @@ -0,0 +1,3 @@ +--inline-logs +--all +--enable-slow \ No newline at end of file diff --git a/scripts/sanity_chk/sanity_verify.args b/scripts/sanity_chk/sanity_verify.args new file mode 100644 index 00000000000..54657ac41eb --- /dev/null +++ b/scripts/sanity_chk/sanity_verify.args @@ -0,0 +1,3 @@ +--inline-logs +--exclude-tag +footprint \ No newline at end of file diff --git a/scripts/sanitycheck b/scripts/sanitycheck index beaae8cad46..2af518f7515 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -150,6 +150,10 @@ Metrics (such as pass/fail state and binary size) for the last code release are stored in scripts/sanity_chk/sanity_last_release.csv. To update this, pass the --all --release options. +To load arguments from a file, write '+' before the file name, e.g., ++file_name. File content must be one or more valid arguments separated by +line break instead of white spaces. + Most everyday users will run with no arguments. """ @@ -1607,6 +1611,7 @@ def parse_arguments(): parser = argparse.ArgumentParser(description = __doc__, formatter_class = argparse.RawDescriptionHelpFormatter) + parser.fromfile_prefix_chars = "+" parser.add_argument("-p", "--platform", action="append", help="Platform filter for testing. This option may be used multiple "