GNU bug report logs -
#76446
[Patch Debbugs] Infrastructure Improvements
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:
Hi Morgan,
>> Are you trying to selectively run tests so we can debug tests one at a time?
>> That is already entirely doable with the current setup. Running 'make check
>> TESTS=get-status' only runs a singular test.
>
> This is exactly what is called SELECTOR in the Emacs make. And this is
> the same name used in the ERT manual.
>
> I said already in my last message that this is missing, and I will add this.
>
>> The patch you have provided actually removes the ability to run one test at a
>> time as we'd have to run entire files.
>
> No, with adding SELECTOR to the Makefile we'll have it. Read test/README
> from the Emacs source tree for a better understanding how Emacs does it.
>
> Disclaimer: I have written a large part of that README.
>
>> I'm not certain what the SELECTORs do but perhaps you're thinking that
>> in the future we would have groups of tests (like "expensive" or
>> "network") that we could select. In the interest of not
>> over-engineering on hypotheticals, I would say that is a future problem.
>> One that I would likely solve by putting those test files in
>> sub-directories labeled "expensive" and "network".
>
> A SELECTOR can be anything. A regexp, a test name a tag, you name it.
> See (info "(ert) Test Selectors")
I have extended the Makefile to support also SELECTOR, see
appended. Comments?
Best regards, Michael.
[Message part 2 (text/x-patch, attachment)]
This bug report was last modified 71 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.