From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GdjLGYm9bGNBSQEAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 09:59:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aC2sGIm9bGPy3gAAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 09:59:53 +0100 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 1AB79272F7 for ; Thu, 10 Nov 2022 09:59:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot3Oe-000392-HY; Thu, 10 Nov 2022 03:58:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot3Oc-00038s-C1 for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 03:58:50 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot3OX-0001l7-2m for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 03:58:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 00E5E240101 for ; Thu, 10 Nov 2022 09:58:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668070723; bh=NdzB3H5UTasIYonNWhY0DT4Bt9jOr0stpmjFdQJGHiw=; h=From:To:Cc:Subject:Date:From; b=Y5es3ev9RnP+r+sjCRthJCSFpHagEE5mGYlDKZA+yQx9WTu1u/85INMaoyD3jb0BT GX+TMo+J35ybvcIFWMqgqPsPjW/wlMtytRwRb9ukR1hyMSZhwNgjIEw74F+QhuPxnN f3QJZErVYFiIpUrfhOizLaNIn54LbVP+owJLROPWSucbl4dpe0GQqp5/RGrULkUhZE bv3Zt8A5z2lXI2i82KL3a7CQHUEIRaVtG3oUUic10x7g7XbVcOS395hfeEX3HWtFen IzuA5ILCf39WkLPdHfF3PHE5DVmqv+HZv06Ic9FoH9Ca9NtjpKXMYbdHs0goMsVavY 2HGIO1Dkfwhrw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N7G321FBfz9rxT; Thu, 10 Nov 2022 09:58:37 +0100 (CET) From: Ihor Radchenko To: Bruno Barbier Cc: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [PATCH] ob-java: Define the list of all supported header arguments In-Reply-To: <636cb469.1c0a0220.514f2.95d0@mx.google.com> References: <871qr17rjy.fsf@localhost> <874jv8dg3a.fsf@localhost> <87v8nnk16f.fsf@localhost> <636cb469.1c0a0220.514f2.95d0@mx.google.com> Date: Thu, 10 Nov 2022 08:59:17 +0000 Message-ID: <874jv7jica.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668070789; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LxPoIujo0KOj9IlklO6OnvYktgsVCCQavyTRjbYz3Lc=; b=rI7XXvh7RBLTaMF8eF+H18+i0ode/HUik4rmmnX+eBWWazoWIgoJewDSjNMERiP6vnFLFT sLvHUt/IwUMDjh92qZferLtoSO2Jr8Biqa0opqQdzIJ7Kre4/sFFuTmeKP74cH8QUC+JM3 aUDEBztaZEK/1p5T58X3u4KuhYbYZPIXqXPnRKyvX6x/8kUSKeumK4JAvc32MeDCraCyGY tVR1ZagDvqyQfXjuzep6NTtJZyxiBqakOoogUijzmQ/JeQsNc/8IymHpdHOLw5BLn/9jQn 25Z5+HFs7r7UTmc1YEdH5P4vcEhTvztbIIfYi+Rb6zry7aCJMmtRgRjSk+j1uA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668070789; a=rsa-sha256; cv=none; b=FucgpylSi7XQXGK4bnhgu61kmgq229Cg3ZnwCTz5HtY3qtkQJJXCaUrrCaUtaXm8OgjXE9 D7nL+x2IyuDGS//JgLKiof3YB7BHuRtexgsMLg41Gu8Wbp85at7p23aYiUOsaJDAFeTbu+ sqRGczLy+9lLnhRLX8RytZb7RTllZ6u0HCNPXSHTNkctRIVy6xkDt791nLWB+2UA9kQcWR RdatIsvSrwYDLS+ymHrOiOSJ+39geHE9H0jbD2HKTRZZr1PWHiSsti0oxVbRzwF7qjuG+J 3VczvmPlGlKAvgmW+55K9S7ZIFNEPKbHDpG+5NKsWAPMPI1IRJ5QDpKqlHbD5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y5es3ev9; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y5es3ev9; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1AB79272F7 X-Spam-Score: -2.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7UGFnn73Li3I Bruno Barbier writes: > I'm seeing these 3 failures too, running the tests from the command > line. The failure looks like this: > > FAILED ob-java/lint-header-args-block ((should-not (org-lint > '(wrong-header-argument))) :form (org-lint (wrong-header-argument)) > :value ((1 ["8" "nil" "Unknown header argument \":classname\"" > #s(org-lint-checker wrong-header-argument "Report wrong babel > headers" org-lint-wrong-header-argument nil (babel))]) (2 ["8" "nil" > "Unknown header argument \":imports\"" #s(org-lint-checker > wrong-header-argument "Report wrong babel headers" > org-lint-wrong-header-argument nil (babel))]) (3 ["8" "nil" "Unknown > header argument \":cmpflag\"" #s(org-lint-checker > wrong-header-argument "Report wrong babel headers" > org-lint-wrong-header-argument nil (babel))]) (4 ["8" "nil" "Unknown > header argument \":cmdarg\"" #s(org-lint-checker > wrong-header-argument "Report wrong babel headers" > org-lint-wrong-header-argument nil (babel))]))) > > > Adding (require 'ob-java) at the beginning of test-ob-java.el ensures > that `org-babel-header-args:java' is defined, and the tests pass. Then, it sounds like local.mk does not enable java tests. I fixed such scenario on main. Now, java tests will be skipped when ob-java testing is not requested. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at