Skip to content

Added runtests option -u to skip test requiring sudo access#1841

Merged
jepler merged 1 commit intoLinuxCNC:masterfrom
petterreinholdtsen:tests-skip-sudo-option
Jul 16, 2022
Merged

Added runtests option -u to skip test requiring sudo access#1841
jepler merged 1 commit intoLinuxCNC:masterfrom
petterreinholdtsen:tests-skip-sudo-option

Conversation

@petterreinholdtsen
Copy link
Copy Markdown
Collaborator

This make it easier for non-privileged users to run tests automatically.

The tests requiring sudo are flagged using a mechanism inspired by
the autopkgtest system in Debian, where a control file contain
information about the test. All tests requiring sudo get a
'sudo' flag in the Restrictions field there.

Also add reporting on number of skipped tests at the end.

This make it easier for non-privileged users to run tests automatically.

The tests requiring sudo are flagged using a mechanism inspired by
the autopkgtest system in Debian, where a control file contain
information about the test.  All tests requiring sudo get a
'sudo' flag in the Restrictions field there.

Also add reporting on number of skipped tests at the end.
@jepler jepler merged commit 8dfe670 into LinuxCNC:master Jul 16, 2022
@petterreinholdtsen petterreinholdtsen deleted the tests-skip-sudo-option branch July 16, 2022 17:07
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