emacs-devel
[Top][All Lists]
Advanced

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

Merging Org tests


From: Rasmus
Subject: Merging Org tests
Date: Tue, 14 Feb 2017 16:10:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi,

I'm starting to prepare the merger of Org 9+ to Emacs master.  I have not
followed the entire recent Emacs+ELPA discussion in the other thread.

I understand that it would be desirable to include the Org tests in Emacs.

The readme/file-organization file in the "test" dir of emacs.git is a bit
confusing.  Why does it talk about an "automated" folder that isn't there?
I guess it's simply "lisp" folder.

Also, how strictly must the suggested file organization be followed?
Skimming "make-test-deps.emacs-lisp" it seems it might have to be followed
rather strictly.  In Org, tests are already organized into a different
file hierarchy and use a slightly different naming scheme.

Here's the Org "testing" folder:

    http://orgmode.org/cgit.cgi/org-mode.git/tree/testing

The main differences are:

- In Emacs "test" ressources are in a parallel folder alongside lisp, in
  the Org repo they are stored in a sibling folder to the one with the
  tests. 
- In the Org repo, tests are prefixed with "test-", in Emacs "test" they
  should have a "-tests" suffix.
- The Org tests depend on the library "org-test.el", though I guess that
  is not really an issue. 

What would be the best strategy for including the Org tests in the Emacs
repo?

1. Include Org tests in the "manual" folder and keep the current structure.
2. Start to reorganize the tests in the Org repo to follow the Emacs
   scheme.
3. Keep tests in the Org repo.

Thanks,
Rasmus

-- 
Send from my Emacs




reply via email to

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