Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xfstests: Move function to lib util #19869

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

SeroSun
Copy link
Member

@SeroSun SeroSun commented Aug 3, 2024

This is the first step to do following this ticket https://progress.opensuse.org/issues/162884. To move current functions into lib:

  • Move function to a xfstests_util.pm file
  • Adjust function parameter passing part
  • Remove all get_var and check_var in lib function
  • Correct some comments

The next step will create functions in lib to load sub-tests and rewrite the log analyst part.

Copy link

github-actions bot commented Aug 3, 2024

Great PR! Please pay attention to the following items before merging:

Files matching lib/**.pm:

  • Consider adding or extending unit tests in t/

This is an automatically generated QA checklist based on modified files.

@SeroSun SeroSun changed the title xfstests: Move function to lib util [WIP]xfstests: Move function to lib util Aug 3, 2024
@SeroSun SeroSun force-pushed the yosun/loadtest_xfstests branch 4 times, most recently from ca0fdc6 to edb3630 Compare August 15, 2024 08:14
@SeroSun SeroSun changed the title [WIP]xfstests: Move function to lib util xfstests: Move function to lib util Aug 15, 2024
@SeroSun SeroSun changed the title xfstests: Move function to lib util [WIP]xfstests: Move function to lib util Aug 16, 2024
@SeroSun
Copy link
Member Author

SeroSun commented Aug 16, 2024

I could still see some get_var in lib code. I will modify them too.

@SeroSun SeroSun force-pushed the yosun/loadtest_xfstests branch 2 times, most recently from a9178a1 to c9d6a9e Compare August 16, 2024 07:38
@SeroSun SeroSun changed the title [WIP]xfstests: Move function to lib util xfstests: Move function to lib util Aug 16, 2024
@SeroSun SeroSun changed the title xfstests: Move function to lib util [WIP]xfstests: Move function to lib util Aug 16, 2024
- Move function to a xfstests_util.pm file
- Adjust function parameter passing part
- Remove all get_var and check_var in lib function
- Correct some comments
@SeroSun SeroSun changed the title [WIP]xfstests: Move function to lib util xfstests: Move function to lib util Aug 16, 2024
@lansuse
Copy link
Contributor

lansuse commented Aug 16, 2024

LGTM

@SeroSun SeroSun merged commit f96d8aa into os-autoinst:master Aug 19, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants