Bug 231738 - [NEW PORT] devel/py-btest: Simple driver for basic unit tests
Summary: [NEW PORT] devel/py-btest: Simple driver for basic unit tests
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: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks: 231739
  Show dependency treegraph
 
Reported: 2018-09-26 13:08 UTC by Shirkdog
Modified: 2018-09-29 20:25 UTC (History)
2 users (show)

See Also:


Attachments
[NEW PORT] devel/py-btest: Simple driver for basic unit tests (1.61 KB, patch)
2018-09-26 13:08 UTC, Shirkdog
no flags Details | Diff
[NEW PORT] devel/py-btest: Simple driver for basic unit tests (1.56 KB, patch)
2018-09-26 22:50 UTC, Shirkdog
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shirkdog 2018-09-26 13:08:46 UTC
Created attachment 197514 [details]
[NEW PORT] devel/py-btest: Simple driver for basic unit tests

btest provides basic unit testing, and this port is required for the bro-pkg port that I will be submitting in a separate bug.
Comment 1 Nathan 2018-09-26 22:29:03 UTC
Comment on attachment 197514 [details]
[NEW PORT] devel/py-btest: Simple driver for basic unit tests

+PORTREVISION=	1
You're not revising a port, without bumping version. New ports don't need this; Only time PORTREVISION is needed is when updating a port without updating port version
Comment 2 Shirkdog 2018-09-26 22:50:05 UTC
Created attachment 197535 [details]
[NEW PORT] devel/py-btest: Simple driver for basic unit tests

Removed PORTREVISION and aligned Makefile values
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-28 21:23:11 UTC
I'll try to get it committed.
Comment 4 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-28 21:46:28 UTC
Differential revision: https://reviews.freebsd.org/D17353
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-09-29 20:24:49 UTC
A commit references this bug:

Author: 0mp
Date: Sat Sep 29 20:24:19 UTC 2018
New revision: 480917
URL: https://svnweb.freebsd.org/changeset/ports/480917

Log:
  New port: devel/py-btest: Simple driver for basic unit tests

  The btest is a simple framework for writing unit tests. Freely borrowing
  some ideas from other packages, it's main objective is to provide an
  easy-to-use, straightforward driver for a suite of shell-based tests. Each
  test consists of a set of command lines that will be executed, and success
  is determined based on their exit codes. btest comes with some additional
  tools that can be used within such tests to compare output against a
  previously established baseline.

  PR:		231738
  Submitted by:	Shirkdog <mshirk@daemon-security.com>
  Reviewed by:	krion, Nathan <ndowens@yahoo.com>
  Approved by:	krion (mentor)
  Differential Revision:	https://reviews.freebsd.org/D17353

Changes:
  head/devel/Makefile
  head/devel/py-btest/
  head/devel/py-btest/Makefile
  head/devel/py-btest/distinfo
  head/devel/py-btest/pkg-descr
Comment 6 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-29 20:25:35 UTC
Thank you!