emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Garbs <mitch@cgarbs.de>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-vala.el: Add Vala support to Babel
Date: Sun, 6 Aug 2017 12:06:12 +0200	[thread overview]
Message-ID: <20170806100612.vfuhpjwn4glbxckh@cgarbs.de> (raw)
In-Reply-To: <87lgmxfsu0.fsf@nicolasgoaziou.fr>

Hello

On Sun, Aug 06, 2017 at 02:22:31AM +0200, Nicolas Goaziou wrote:
> Christian Garbs <mitch@cgarbs.de> writes:

> > Currently I run into a problem with the test case:  I have created an
> > org file containing some Vala code and an .el file with some tests,
> 
> It would be better to have all tests and data self contained in the same
> ".el" file, IMO.

It seems I have studied the wrong tests and thought all tests were
built that way :-)


> I don't see any problem. The tests are meant to run if user has loaded
> "ob-vala", but the test suite shouldn't load that library on user's
> behalf.

I just found BTEST_OB_LANGUAGES in local.mk.  When I add "vala" there,
"make test" will run my tests - problem solved.

(I don't have (require 'ob-vala) in my .emacs as I rarely ever need
 it.  If I need it, I put "# eval: (require 'ob-vala)" in the
 corresponding org file.)


I fear that I am the only one who will ever run the vala tests ;-)

- Are there any build hosts that automatically run the tests with all
  languages enabled?

- Or could the BTEST_OB_LANGUAGES default in mk/default.mk be expanded
  to include vala?  (99% of the users will simply skip the vala test
  because they don't have the compiler binary, so it should have no
  ill effacts)


Regards
Christian
-- 
....Christian.Garbs....................................https://www.cgarbs.de

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare.
Now, thanks to the Internet, we know this is not true"

  reply	other threads:[~2017-08-06 10:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-09 20:09 Babel support for Vala Christian Garbs
2017-07-10  9:03 ` Nicolas Goaziou
2017-07-10 17:54   ` Christian Garbs
2017-07-11  8:10     ` Nicolas Goaziou
2017-07-13 21:42       ` Christian Garbs
2017-07-14  8:30         ` Nicolas Goaziou
2017-07-14 19:43           ` [PATCH] ob-vala.el: Add Vala support to Babel Christian Garbs
2017-07-23  9:05             ` Nicolas Goaziou
2017-07-31 22:04               ` [PATCH v2] " Christian Garbs
2017-08-01 21:59                 ` Nicolas Goaziou
2017-07-31 22:04                   ` [PATCH v3] " Christian Garbs
2017-08-07  9:41                     ` Nicolas Goaziou
2017-08-01 21:20               ` [PATCH] " Christian Garbs
2017-08-01 22:03                 ` Nicolas Goaziou
2017-08-02 20:24                   ` Christian Garbs
2017-08-03 10:49                     ` Nicolas Goaziou
2017-08-05 19:53                       ` Christian Garbs
2017-08-06  0:22                         ` Nicolas Goaziou
2017-08-06 10:06                           ` Christian Garbs [this message]
2017-08-07  9:52                             ` Nicolas Goaziou

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=20170806100612.vfuhpjwn4glbxckh@cgarbs.de \
    --to=mitch@cgarbs.de \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).