From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8JcQOnw+OWMEwQAAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 09:32:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wKflOXw+OWNOigAAauVa8A (envelope-from ) for ; Sun, 02 Oct 2022 09:32:12 +0200 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 AEF2F398E0 for ; Sun, 2 Oct 2022 09:32:12 +0200 (CEST) Received: from localhost ([::1]:47820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oetSN-0006aP-TF for larch@yhetil.org; Sun, 02 Oct 2022 03:32:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oetOu-0003pY-BJ for emacs-orgmode@gnu.org; Sun, 02 Oct 2022 03:28:36 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:51069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oetOq-0005Gc-BJ for emacs-orgmode@gnu.org; Sun, 02 Oct 2022 03:28:36 -0400 Received: by mail-pj1-x1034.google.com with SMTP id lx7so7555253pjb.0 for ; Sun, 02 Oct 2022 00:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=KI1/6dpaRhsBqPuoVQWfVAX4aR/yfZVNZTu00pBqj+U=; b=HxMCC5fuScv4EEc+FWGvRkazgTOrSwsngIqAkiCPDmxk7iRVSkTRgYRtm+XFIrV9XE xK6f5wr+vfQOuNhksKpP4xH1dPcNRLm3fPJFCj+dbm2rwyNuVK4fWzszDJxBZJ+g79hU pJtDuTODPU6ie/l6mUQ5k7l7qiA2qmd+NAG4WS72Fhb4WPtqCx73Q7Bz9fhoRk6Ajgok akgG9ntc3GRIS27fG3xQbgFEbwbw1D1yfoOYfXh4vi7ZPaMr22enUn83R6x7OuJB7HN8 EkMl2LGzQ9mG18+ETNZS38X7gqiXXd8fin40A+jN9WFDR46xZCpnJAlHyU3qcDPf3dA5 3HNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=KI1/6dpaRhsBqPuoVQWfVAX4aR/yfZVNZTu00pBqj+U=; b=iekCMMSP4KB/44a1yp9RiHlUA0jvHXILwxUYy41/4hNTXRThQMBo/l201Aq6+JsAkC 8rQskmWjrmWEulqMGNka3mPscA8PcBh9cvTxDG9Lkcs2Jnw1D78s5pRycUc2Urgzob52 3yrZCxpaH5WvyU+nYmz9NGcI5EQU9kNnweIZregAcXU8Ce901HAczSY9mkyO4hWVHky4 yKOFp2/1k3cBJrUGXgbWwrw/lxJcbCZT3N3JShlF3d224kDNjq0N/cF2i2naefXL8WUY SBWIPAwQoVQWMPuhgS3oJgb8hst5Mjtn1zp5e6cloqEWUtjubrRLKVPfqr+EIWfb+M6i Pj6g== X-Gm-Message-State: ACrzQf2cKt8kWo0hDPTBC7k9DNZBSg47WHLunBG8iwLrB/jEabtfWoax KFckx54Z7XGVxiChZa7RrvI= X-Google-Smtp-Source: AMsMyM4mi7VQtyZsjw4O511HBumABLzfPIALaJ645haRZU48D0nKCXfz6h1QY96mbhUOyuaiEHm1Qg== X-Received: by 2002:a17:903:2411:b0:178:5653:ecda with SMTP id e17-20020a170903241100b001785653ecdamr17063139plo.166.1664695710714; Sun, 02 Oct 2022 00:28:30 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id d1-20020a170903230100b00177efb56475sm4937749plh.85.2022.10.02.00.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 00:28:30 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org, Christian =?utf-8?Q?K=C3=B6stlin?= Subject: Re: [PATCH] Unit-test for Please add support for dlangs packagemanager to ob-C.el In-Reply-To: References: Date: Sun, 02 Oct 2022 15:29:23 +0800 Message-ID: <8735c61y5o.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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" 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=1664695932; 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=KI1/6dpaRhsBqPuoVQWfVAX4aR/yfZVNZTu00pBqj+U=; b=dgB3MTxhgLs7WUIN0vdZsi5wpz9QRjFNHB2rxXfMdj5kaPfcROrqHtJzy45gi38zaI8bJV VXGhAWm7eFjfJ8LUCVUbgbSUzAkCfcUpukPajIoc3vEwQwJHrCxzbidSC2sEy+p1e3H+8+ m2laiQbnADcrtVLIedH9HuspfjmukS7TjbjB7S9702x0mL4JjI5ljUjM+pDTSNY5CrFcWI bTHcHmHHh19w1Z6VwpC4SSTVsgrPpcSmZsxoNCqqrX9w05J4I8YXjuZVZJGnEsSsPJOUZa CRpJm/66bkUcMDDtVjV4ArVpRo9x4XS1plPv+fkJsYpK+V8IxIuSoPVJ9eFaTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664695932; a=rsa-sha256; cv=none; b=VrFvcI7lp9lIAalaimBUQGN6uSaaJ5/VWgF6UyHGQKCwnFEM3jHRGJVumFDjT7FhKpcFqU yegUxHtppRGHFaCr8DxvBokc/KJEC5dF/bv3YO7qJM+n8zHozK7oOvI2ITJNeQ6MVLk86m SQMuHQXmC6oNzbEYmV3gJdxysmO2elADOThsLMoO7DSm3r7Yj4lYrG+17YRqCsPu4bkjn3 I8hujfPQQUWFSax5RnHxPjYSfhiaYeCW/GCCvcdqEzD5oGxKfCdMrIommSJBqt9/0YffGY X5RKgoWBKIbmTpOMbT7bQj5LtQvmHYZJlZAX5gtZSwmlbRv/2u87VLSO5ZUQHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HxMCC5fu; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HxMCC5fu; dmarc=pass (policy=none) header.from=gmail.com; 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: AEF2F398E0 X-Spam-Score: -3.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: kU/PdQtwqHE3 Max Nikulin writes: > I am unsure concerning general policy related to org-babel test, so the > following is rather discussion than a direct request to change the test. > > Is there a way to avoid dependency on remote resources? My concern is > test results affected by network issues. In addition, more required 3rd > party tools means less probability that a developer after modification > of generic babel code noticed that the changes break D backend because > missing tool on the development machine. I have no idea how much efforts > is required to create a mock for isolated environment. Tests must not rely on remote resources. However, it does not mean that we cannot test remote resources in Org tests. One simply needs to mock the url-retrieve or whatever function is used to retrieve remove resource. > Another point is that missed dub binary is not reflected in test report. > If `skip-unless' feature of ert is available in Emacs-26 then it should > be used. The current approach to optional binaries is throwing 'missing-test-dependency error when the binary is not available. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92