all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-devel@gnu.org
Subject: Merging Org tests
Date: Tue, 14 Feb 2017 16:10:30 +0100	[thread overview]
Message-ID: <871sv0oljt.fsf@gmx.us> (raw)

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	other threads:[~2017-02-14 15:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14 15:10 Rasmus [this message]
2017-02-14 16:20 ` Merging Org tests Eli Zaretskii
2017-02-14 18:13 ` Phillip Lord
2017-02-14 19:16   ` Michael Albinus
2017-02-15 10:55     ` Phillip Lord
2017-02-15 11:32       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871sv0oljt.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.