From e179c3b8bc38fb7a678af4982d745ef459931a03 Mon Sep 17 00:00:00 2001 From: ehinrichs <54997013+ehinrichs@users.noreply.github.com> Date: Fri, 19 Jan 2024 08:08:25 -0700 Subject: [PATCH] Update to runtests.py Updated to notify user of levels being run and if exodus was included --- test/runtests.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/test/runtests.py b/test/runtests.py index 176a2b23..a5885ec1 100644 --- a/test/runtests.py +++ b/test/runtests.py @@ -62,7 +62,7 @@ def main(): # Ensure Level 3 is not automatically run if 3 in args.levels: - print("Level 3 is for Developer only and should be run manually.") + print("Level 3 is for Developers only and should be run manually.") sys.exit(1) # Log the parsed arguments for debugging @@ -76,6 +76,13 @@ def main(): # Collect test directories based on specified levels test_dirs = test_lg.collect_test_dirs(TEST_ROOT, args.levels) + # Output to let user know current testing levels + print("\nRunning tests in level(s): "+str(args.levels)[1:-1] ) + + # Output to let user know that Exodus is not being tested + if 2 not in args.levels: + print("\n ** Exodus is not being tested. To test Exodus, please run Level 2. **") + # Dynamically generate unittest functions for each test directory for test_dir in test_dirs: # Generate a unique test name based on the test directory @@ -90,5 +97,4 @@ def main(): # Entry point for the script if __name__ == '__main__': - main() - \ No newline at end of file + main() \ No newline at end of file