Bug 231738

Summary: [NEW PORT] devel/py-btest: Simple driver for basic unit tests
Product: Ports & Packages Reporter: Shirkdog <mshirk>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, ndowens04
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 231739    
Attachments:
Description Flags
[NEW PORT] devel/py-btest: Simple driver for basic unit tests
none
[NEW PORT] devel/py-btest: Simple driver for basic unit tests none

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!