From 9747510448e167e0470828d0a85f70c5f599672b Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Tue, 10 Oct 2023 17:01:15 +0100 Subject: [PATCH] remove error message dir Signed-off-by: Wenqi Li --- runtests.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtests.sh b/runtests.sh index bdd56f8de3..cfceb6976a 100755 --- a/runtests.sh +++ b/runtests.sh @@ -108,7 +108,7 @@ function print_usage { echo " -c, --clean : clean temporary files from tests and exit" echo " -h, --help : show this help message and exit" echo " -v, --version : show MONAI and system version information and exit" - echo " -p, --path : specify the path used for formatting" + echo " -p, --path : specify the path used for formatting, default is the current dir if unspecified" echo " --formatfix : format code using \"isort\" and \"black\" for user specified directories" echo "" echo "${separator}For bug reports and feature requests, please file an issue at:" @@ -359,10 +359,9 @@ if [ -e "$testdir" ] then homedir=$testdir else - print_error_msg "Incorrect path: $testdir provided, run under $currentdir" homedir=$currentdir fi -echo "run tests under $homedir" +echo "Run tests under $homedir" cd "$homedir" # python path