From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 3M9uBVD/VF/YHgAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 15:25:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oISoAFD/VF8MZgAA1q6Kng (envelope-from ) for ; Sun, 06 Sep 2020 15:25:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 338049403A0 for ; Sun, 6 Sep 2020 15:25:03 +0000 (UTC) Received: from localhost ([::1]:51220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEwXO-0004Pc-5D for larch@yhetil.org; Sun, 06 Sep 2020 11:25:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEwWo-0004N3-5R for Emacs-orgmode@gnu.org; Sun, 06 Sep 2020 11:24:26 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:60648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEwWl-00011G-9A for Emacs-orgmode@gnu.org; Sun, 06 Sep 2020 11:24:25 -0400 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id DAC3CD9EBA; Sun, 6 Sep 2020 11:24:20 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=3ooIqytXo05vOMOm43jHqLzwvGc=; b=ak7HPW yX6TTcbrvlUpP+gGP4ImsY7PfZGoCKTNo3h/7ZhbDa1QAkr29Mr9J6gvVuo+ufr2 MptzNWMIBYro+lP0zffhW60dfXFAAuRJDAnwruuYj8eJfWBB7ArNOxXakjKPzfj0 P0VeUJnzto9qTcGTeEjPte1ZKCCCsFwTjgnP0= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id D4E5ED9EB9; Sun, 6 Sep 2020 11:24:20 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=iyK0zc1TAFcJYCBIpoPcYQIByEGu9MGRjtsyAcSrJjA=; b=zgdwAoHNVbs3/KjB0bWQnMobcUYrtpZK3cMdfUihI5YynnmUw2Bp2XP2O6LMvJbNrW0or1L91xSIFzasDoV4X+7JcTG0rYJsS1cLgO0Bs2OH2s36Ld8A89fkDsm9SvkKjz50yeXdrHbw4VE9b6JkxL8RnnepGoSvJhbC5QTsfLI= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 5BF18D9EB8; Sun, 6 Sep 2020 11:24:18 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: ian martins Subject: Re: org-babel support for haxe In-Reply-To: References: Date: Sun, 06 Sep 2020 11:24:16 -0400 Message-ID: <877dt72ajj.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 07E9EA10-F055-11EA-A144-843F439F7C89-24757444!pb-smtp21.pobox.com Received-SPF: pass client-ip=173.228.157.53; envelope-from=kyle@kyleam.com; helo=pb-smtp21.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 10:00:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=ak7HPW y; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=zgdwAoHN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: kAmTFCl3I/d6 Hi ian, It looks like this library is instead going to be available through an ELPA, but FWIW here are a couple of comments on the tests. ian martins writes: > diff --git a/testing/examples/ob-haxe-test.org b/testing/examples/ob-haxe-test.org > new file mode 100644 > index 000000000..ba9119d58 > --- /dev/null > +++ b/testing/examples/ob-haxe-test.org > @@ -0,0 +1,247 @@ > +#+Title: a collection of examples for ob-haxe tests > +#+OPTIONS: ^:nil > +* Simple > + :PROPERTIES: > + :ID: 966875e9-d10e-406c-9211-449555e3d3b2 > + :END: > +#+name: simple > +#+begin_src haxe :results output silent > + Sys.print(42); > +#+end_src I know some other babel tests use a separate .org file, but I find this setup harder to follow compared to having the Org content within the test (e.g. using org-test-with-temp-text or org-test-with-temp-text-in-file). Perhaps I'm missing why it's needed in this case though. > diff --git a/testing/lisp/test-ob-haxe.el b/testing/lisp/test-ob-haxe.el [...] > +;;; Code: > +(org-test-for-executable "haxe") > +(unless (featurep 'ob-haxe) > + (signal 'missing-test-dependency "Support for haxe code blocks")) > + > +(ert-deftest ob-haxe/simple () > + "Hello world program." > + (if (executable-find org-babel-haxe-command) I think you can avoid the executable-find here and in all the other tests because you have (org-test-for-executable "haxe") at the beginning of the file.