From d49847b5eda4adfee5caffed07949bc2d027a843 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Tue, 29 Oct 2024 09:11:59 -0700 Subject: [PATCH] WIP: add unit tests --- unittests/test_cli.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/unittests/test_cli.py b/unittests/test_cli.py index 29bbb3457..71b36e875 100644 --- a/unittests/test_cli.py +++ b/unittests/test_cli.py @@ -1374,12 +1374,6 @@ def test_session_annotations(run_reframe): def test_performance_compare(run_reframe, table_format): - def assert_no_crash(returncode, stdout, stderr, exitcode=0): - assert returncode == exitcode - assert 'Traceback' not in stdout - assert 'Traceback' not in stderr - return returncode, stdout, stderr - run_reframe2 = functools.partial( run_reframe, checkpath=['unittests/resources/checks/frontend_checks.py'], @@ -1407,3 +1401,7 @@ def assert_no_crash(returncode, stdout, stderr, exitcode=0): action='--performance-compare=now-1m:now/now-1d:now/mean:+foo/+bar' ), exitcode=1 ) + + +def test_import_from_perflog(run_reframe): + pass