mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-01 04:20:45 +00:00
print skipped file names to stdout
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
acbeb7fa30
commit
a4e1eece3d
@ -33,15 +33,12 @@ CHECK_GENERATED_FILES = "tests/scripts/check-generated-files.sh"
|
|||||||
def print_err(*args):
|
def print_err(*args):
|
||||||
print("Error: ", *args, file=sys.stderr)
|
print("Error: ", *args, file=sys.stderr)
|
||||||
|
|
||||||
def print_warn(*args):
|
|
||||||
print("Warn:", *args, file=sys.stderr)
|
|
||||||
|
|
||||||
# Print the file names that will be skipped and the help message
|
# Print the file names that will be skipped and the help message
|
||||||
def print_skip(files_to_skip):
|
def print_skip(files_to_skip):
|
||||||
print()
|
print()
|
||||||
print(*files_to_skip, sep=", SKIP\n", end=", SKIP\n")
|
print(*files_to_skip, sep=", SKIP\n", end=", SKIP\n")
|
||||||
print_warn("The listed files will be skipped because\n"
|
print("Warn: The listed files will be skipped because\n"
|
||||||
"they are not included in the default list.")
|
"they are not included in the default list.")
|
||||||
print()
|
print()
|
||||||
|
|
||||||
# Match FILENAME(s) in "check SCRIPT (FILENAME...)"
|
# Match FILENAME(s) in "check SCRIPT (FILENAME...)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user