Skip to content

Respect test specifier for the all-tests target - #557

Merged
rswgnu merged 1 commit into
masterfrom
Use-test-specifier-also-in-all-tests-target
Jul 8, 2024
Merged

rswgnu merged 1 commit into
masterfrom
Use-test-specifier-also-in-all-tests-target

Conversation

@matsl

@matsl matsl commented Jul 7, 2024

Copy link
Copy Markdown
Collaborator

What

Add new macro for supplying the test specifier, as given by the
command line test, to the all-tests target.

Why

To support running make all-tests for a limited number of test or even
just a single one. Can be used from the docker target to support
debugging test cases that fails for a specific Emacs version.

Example:

make docker version=27.2 targets='clean all-tests test=hyrolo'

Will clean the (copied) workspace from any compiled files and then run
all-tests with the specifier set to hyrolo. ie. just run tests
matching that specifier.

Since all-tests does not terminate Emacs the system is in a state
where the tests can be debugged and the backtrace of any failing test
can be examined.

@matsl
matsl requested a review from rswgnu July 7, 2024 21:07
@rswgnu
rswgnu merged commit 079c107 into master Jul 8, 2024
@matsl
matsl deleted the Use-test-specifier-also-in-all-tests-target branch July 12, 2024 18:30
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