Re: bug#48598: 28.0.50; buffer-naming collisions involving bouncers in ERC
Michael Albinus <[email protected]>
| Newsgroups | gmane.emacs.erc.general |
|---|---|
| Message-ID | <[email protected]> |
Michael Albinus <[email protected]> writes: Hi, >> Even without the aforementioned packaging snafu, the erc-d/ situation is >> definitely confusing. That subdir is supposed to house the fake IRC >> server that all the "erc-scenarios"-based tests depend on. I initially >> tried going with erc-d-tests.el instead of erc-d-self.el for the >> server's own tests but hit a Make error because a corresponding library >> didn't exist under lisp/erc/. Perhaps I should have tinkered further. > > Indeed, test/Makefile fires an error then. I've pushed a fix to master, > it shall work now with the file name erc-d-tests.el. I've poked around this problem. Looks like there is a better solution. If your test directory is not called test/lisp/erc/, but test/lisp/erc-tests/, you can locate there test packages with an arbitrary name, like erc-tests.el or erc-d-tests.el, which don't require a corresponding library under lisp/erc/. This is described in test/README, and it will work also with older Emacsen. I revert the aforementioned patch in test/Makefile therefore. Best regards, Michael.