Skip to content

Adds a custom pytest option for archiving logs and conf files#604

Open
ichristod wants to merge 1 commit intoapache:trunkfrom
ichristod:enhance-pyhttpd-archive-option
Open

Adds a custom pytest option for archiving logs and conf files#604
ichristod wants to merge 1 commit intoapache:trunkfrom
ichristod:enhance-pyhttpd-archive-option

Conversation

@ichristod
Copy link

The purpose of this PR is to enrich python test suite with the capability of log archiving.

With the current situation, httpd/test/gen/apache folder keeps logs and configurations of the last pytest execution either it was about a module or single test.
In addition, if you wanted to compare test results between two httpd versions, you would have to manually preserve the contents of the test/gen/apache/, before cleaning, building and installing a new httpd version.

With the --archive/archive-all option you only need to provide the parameter of the /path/to/archive and it handles the creation and the updates of the archiving folder structure.

I think it helps when you want to compare results across httpd versions.

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.

1 participant

Comments