From nobody Sun Jun 19 15:06:22 2022 X-Original-To: freebsd-ports@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 2AE5887552F for ; Sun, 19 Jun 2022 15:06:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LQx230WSCz4sy5 for ; Sun, 19 Jun 2022 15:06:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655651195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=sKz8uUdKr92A5b/P3jXvjqDoA1+wly1xNkIaUlyzf64=; b=F1qIumiPV6PY5KndlLLj1TR4AscwqzhsklA3A4SjmhjOTeCYNF4f7Y6/I9d6zYoIu6CajJ 1c159AYfrsq4dmSg2FbD3Hw5PI/CXKl/UMh+6vJDGAnq1Baljnixe5h5iz32XFTef7Dp0F HUZtw3VDDUFVnzLFKlQATT+y8bj8uQpKLmz3B9mIKVJ7xlmsxQHh3nntxOjOaIJ4PgvlWB d6s/3UCYDaaPTjNDO0ZCRM9fMCIIpw6osdrOQ7uNvCpTmh2irI09MRNsmDtqFxW1XftY1a hWO+dg+GfoYFbtQVRUXQlSrrMx0BzSU3gn4xRe+6AyNZgMHOb1MQqB6+WgXGoQ== Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id E1F5DA579 for ; Sun, 19 Jun 2022 15:06:34 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-lf1-f53.google.com with SMTP id w20so13583390lfa.11 for ; Sun, 19 Jun 2022 08:06:34 -0700 (PDT) X-Gm-Message-State: AJIora9Y+az/J34E0DFKV+Y5PuUh1XBSUqGdIbCMjd5iiUlnqdR7k1qO NJ32GSDDxhUM41goV2CClr3FgUv96I/8agoweaI= X-Google-Smtp-Source: AGRyM1vbLJlnTvqMZByzPz8mWSacS0U89uFkn3CkTaESTHAXP8Xylz7+iNQ9BaVXGGWsT3PW8zVE2EraHY41SdqZCG0= X-Received: by 2002:a05:6512:3b87:b0:478:ede2:64ac with SMTP id g7-20020a0565123b8700b00478ede264acmr10962537lfv.241.1655651193479; Sun, 19 Jun 2022 08:06:33 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 From: Nuno Teixeira Date: Sun, 19 Jun 2022 16:06:22 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: GO ports: Makefile do-test: 'make test' To: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000426ac405e1ce553f" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655651195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=sKz8uUdKr92A5b/P3jXvjqDoA1+wly1xNkIaUlyzf64=; b=YSCl6aoqSbPBYhb2AiRQDOpg3ItTeg+G3qVETzq5yGAVJZa9j7Hx1K77iOIzmm1pGIDHLP zXGBFJ2hSNkYeb6pP2FKHcBHZW8rOEzEUQggcjRl7My52G/phEeuP5hD/QijXsmUNS+e/F cKGeesao0STlRh/hYBFe6msX1+hv8iUkQ8ca6omuml4i4ULyAAPb5zteSdAPSrZOnTILH2 6t1qgbna2LpyeOrvs3Zwnuof4VVFGa3nCyC4W1sdZXj754OdmOnHi/ee9nc28jYlkj1zQl YYONVnSKRyFutYsNtSCkbtbMJR8P5OGaMGLuGxlJrWbVg6P/LZf427nLbasOyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655651195; a=rsa-sha256; cv=none; b=KxLu57Gi4jfLIB5NKjwcji35uXIzqds2KKxKcTWevbRXvU95p6+vB7HpOEElTj2oaKY+gk tFrsrcEcYF+Ok3OyFInz3t09pqOAA7lCmaYBnQi3PWLPKJEYB7GOtYHPfduMOUXND7/ZPb M3LW91J9hOtT1mUhJZP/12eywxwaZ1/nQagPxBw8tAhvoW/gU3erNM4xi9cVS0QTcXEfTf 0NsKc5llpbQQYboi9WqCbH9coxTNtlIYoMa5TdjUSkaSXGJ4dPGPdj2/5wwYMDaGi6XC1V MJlCrctwiELTIHRGRObNevNyS6RqKPyBYhQ4X+ppOWdXZiWcnjBxt6AByiGMEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --000000000000426ac405e1ce553f Content-Type: text/plain; charset="UTF-8" Hello, Recently I adopted a GO port sysutils/siegfried and it as very nice feature: --- do-test: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} test ${GO_BUILDFLAGS} \ ./cmd/sf --- URL: https://github.com/richardlehane/siegfried Running 'make test' in a interactive poudriere jail gives me extra tests and results. My question is: how do I know if a GO project have or not this tests feature? I can undertand 'do-test:' that tells to execute 'test' on .cmd/sf source directory. Once I understand the mechanics I can investigate "my" GO ports and see if I can add this feature to them. Thanks, Nuno Teixeira --000000000000426ac405e1ce553f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Running 'make test' in a interactive poudriere jai= l gives me extra tests and results.

My question is: how d= o I know if a GO project have or not this tests feature?
I ca= n undertand 'do-test:' that tells to execute 'test' on .cmd= /sf source directory.

Once I understand the mechanics I c= an investigate "my" GO ports and see if I can add this feature to= them.

Thanks,

Nuno Teixeira
<= /div> --000000000000426ac405e1ce553f--