From nobody Sun Jan 21 17:21:55 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TJ0X56LVzz57LVj for ; Sun, 21 Jan 2024 17:21:57 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJ0X55SZRz4DKF; Sun, 21 Jan 2024 17:21:57 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id D545F89281; Sun, 21 Jan 2024 17:21:55 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.17.1/8.16.1) with ESMTPS id 40LHLtlO025496 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 21 Jan 2024 17:21:55 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.17.1/8.16.1/Submit) id 40LHLtHv025495; Sun, 21 Jan 2024 17:21:55 GMT (envelope-from phk) Message-Id: <202401211721.40LHLtHv025495@critter.freebsd.dk> To: Kristof Provost cc: Alan Somers , George Mitchell , freebsd-hackers@freebsd.org Subject: Re: The Case for Rust (in the base system) In-reply-to: <4EF67303-A995-457A-990F-A4972C23EA80@FreeBSD.org> From: "Poul-Henning Kamp" References: <1673801705774097@mail.yandex.ru> <202401210751.40L7pWEF011188@critter.freebsd.dk> <40bc1694-ee00-431b-866e-396e9d5c07a2@m5p.com> <202401211626.40LGQDim013134@critter.freebsd.dk> <4EF67303-A995-457A-990F-A4972C23EA80@FreeBSD.org> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25493.1705857715.1@critter.freebsd.dk> Date: Sun, 21 Jan 2024 17:21:55 +0000 X-Rspamd-Queue-Id: 4TJ0X55SZRz4DKF X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] -------- Kristof Provost writes: > > Why would such a test-tool live in src rather than ports ? > > > > It's entirely reasonable for the test code to live in the same > repository as the code it tests. "reasonable" is a very wishy-washy standard :-) My view is that test-decriptions SHALL live with the code they test. But there is no particular reason why the test-tool, which interprets those test-descriptions and perform the test as described need to. Insisting they do so, also, almost by definition, limits their abilities. For instance a test-tool living in src cannot have a graphical UX. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.