Skip to content

Commit

Permalink
WIP: add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarak committed Nov 5, 2024
1 parent 5065026 commit d49847b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions unittests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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

0 comments on commit d49847b

Please sign in to comment.