emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl and Emacs: Developing tests for progmodes


From: Eli Zaretskii
Subject: Re: Perl and Emacs: Developing tests for progmodes
Date: Fri, 04 Sep 2020 09:55:44 +0300

> Cc: emacs-devel@gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca
> From: Harald Jörg <haj@posteo.de>
> Date: Thu, 3 Sep 2020 22:00:22 +0200
> 
> > We generally
> > have a structure under test/ that mirrors the file hierarchy of the
> > sources being tested, so it would be natural to have 2 separate files,
> > test/lisp/progmodes/perl-mode-tests.el and
> > test/lisp/progmodes/cperl-mode-tests.el.
> 
> Such was my understanding of test/file-organization.org, too.
> 
> > Does that answer your question?
> 
> Not really: As far as I understand, Stefan Monnier augmented the first
> version of cperl-mode-tests.el so that it is also applicable for
> perl-mode.el (commit 7a7847d7ad5).  So, a (not-yet-existing)
> perl-mode-tests.el would just (let ((cperl-test-mode #'perl-mode)) and
> then run the tests in cperl-mode-tests.pl.

Then I guess I misunderstand the problem you are trying to solve,
sorry.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]