Bug 274872 - www/wt: Add test target
Summary: www/wt: Add test target
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-02 15:21 UTC by Yuri Victorovich
Modified: 2023-11-02 17:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (info)


Attachments
patch (1.72 KB, patch)
2023-11-02 15:21 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2023-11-02 15:21:43 UTC
Created attachment 246065 [details]
patch

The TEST option is removed, because it builds tests when they are not requested (during the build process).

The test target is added which builds and runs the tests.
Comment 1 Mohammad S. Babaei 2023-11-02 16:28:36 UTC
Comment on attachment 246065 [details]
patch

Thank you! That looks good to me.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-11-02 17:14:43 UTC
Thanks for a quick approval!

Committed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-11-02 17:15:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd31d93d4b10080231969559926f6c05183b6bc7

commit fd31d93d4b10080231969559926f6c05183b6bc7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-02 17:12:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-02 17:14:42 +0000

    www/wt: Add test target

    ... instead of the TEST option.
    The test target now builds and runs tests.

    PR:             274872
    Approved by:    info@babaei.net (maintainer)

 www/wt/Makefile | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)