Skip to content

make the test output from PythonPackage less verbose by disabling default search for error patterns done by run_cmd#2797

Merged
bartoldeman merged 1 commit intoeasybuilders:developfrom
Flamefire:less_verbose_test_cmd
Oct 7, 2022
Merged

make the test output from PythonPackage less verbose by disabling default search for error patterns done by run_cmd#2797
bartoldeman merged 1 commit intoeasybuilders:developfrom
Flamefire:less_verbose_test_cmd

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

When the EasyBlock wants to handle the test output itself it doesn't make sense to search it for potential errors using the generic RegExp.

This applies e.g. to PyTorch and TensorFlow which search for test failures themselves.

So set regexp=False to avoid making the log much harder to read due to duplicated and, more annoyingly, partial test (fail) output.

When the EasyBlock wants to handle the test output itself it doesn't
make sense to search it for potential errors using the generic RegExp.
This applies e.g. to PyTorch and TensorFlow which search for test
failures themselves. So set `regexp=False` to avoid making the log much
harder to read due to duplicated and, more annoyingly, partial test (fail) output.
Copy link
Copy Markdown
Contributor

@bartoldeman bartoldeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartoldeman bartoldeman added this to the next release (4.6.2?) milestone Oct 7, 2022
@bartoldeman bartoldeman merged commit d06599a into easybuilders:develop Oct 7, 2022
@Flamefire Flamefire deleted the less_verbose_test_cmd branch October 8, 2022 11:23
@boegel boegel changed the title Make the test output from PythonPackage less verbose make the test output from PythonPackage less verbose by disabling default search for error patterns done by run_cmd Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants