pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
go-junit-report: added lciense, DESCR
Module Name: pkgsrc-wip
Committed By: Chris Lasocki <krz.lasocki%gmail.com@localhost>
Pushed By: klasocki
Date: Mon Apr 1 20:10:40 2019 +0000
Changeset: 7c3033784ab084e55d79470df4cd2262731dd1d7
Modified Files:
go-junit-report/DESCR
go-junit-report/Makefile
Log Message:
go-junit-report: added lciense, DESCR
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7c3033784ab084e55d79470df4cd2262731dd1d7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-junit-report/DESCR | 10 ++++++++++
go-junit-report/Makefile | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diffs:
diff --git a/go-junit-report/DESCR b/go-junit-report/DESCR
index e69de29bb2..260ab38c2b 100644
--- a/go-junit-report/DESCR
+++ b/go-junit-report/DESCR
@@ -0,0 +1,10 @@
+go-junit-report is a tool that converts go test output to an xml report,
+suitable for applications that expect junit xml reports (e.g. Jenkins).
+
+go-junit-report reads the go test verbose output from standard in and writes junit compatible XML to standard out.
+
+ go test -v 2>&1 | go-junit-report > report.xml
+
+Note that it also can parse benchmark output with -bench flag:
+
+ go test -v -bench . -count 5 2>&1 | go-junit-report > report.xml
\ No newline at end of file
diff --git a/go-junit-report/Makefile b/go-junit-report/Makefile
index d2a02be399..dd6636f65c 100644
--- a/go-junit-report/Makefile
+++ b/go-junit-report/Makefile
@@ -13,7 +13,7 @@ DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/ejstemmer/go-junit-report
COMMENT= TODO: Short description of the package
-LICENSE= # TODO: (see mk/license.mk)
+LICENSE= mit
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
GO_SRCPATH= github.com/jstemmer/go-junit-report/
Home |
Main Index |
Thread Index |
Old Index