pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hs-tasty-rerun



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Oct 31 17:55:54 UTC 2023

Added Files:
        pkgsrc/devel/hs-tasty-rerun: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
devel/hs-tasty-rerun: import hs-tasty-rerun-1.1.19

This Ingredient for tasty testing framework allows to filter a test tree
depending on an outcome of the previous run. This may be useful in many
scenarios, especially when a test suite grows large.

For example, tasty-rerun allows:

* Rerun only tests, which failed during the last run (--rerun). Combined
  with live reloading (e. g., using ghcid or stack test --file-watch), it
  gives an ultimate power to focus on broken parts and put them back in
  shape, enjoying a tight feedback loop.

* Rerun only tests, which have beed added since the last saved test
  run. This comes handy when writing a new module, which does not affect
  other parts of the system, or adding new test cases.

* Rerun only tests, which passed during the last saved test run. Sometimes
  a part of the test suite is consistently failing (e. g., an external
  service is temporarily down), but you want be sure that you are not
  breaking anything else in course of your work.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-tasty-rerun/DESCR \
    pkgsrc/devel/hs-tasty-rerun/Makefile pkgsrc/devel/hs-tasty-rerun/PLIST \
    pkgsrc/devel/hs-tasty-rerun/buildlink3.mk \
    pkgsrc/devel/hs-tasty-rerun/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/hs-tasty-rerun/DESCR
diff -u /dev/null pkgsrc/devel/hs-tasty-rerun/DESCR:1.1
--- /dev/null   Tue Oct 31 17:55:54 2023
+++ pkgsrc/devel/hs-tasty-rerun/DESCR   Tue Oct 31 17:55:54 2023
@@ -0,0 +1,19 @@
+This Ingredient for tasty testing framework allows to filter a test tree
+depending on an outcome of the previous run. This may be useful in many
+scenarios, especially when a test suite grows large.
+
+For example, tasty-rerun allows:
+
+* Rerun only tests, which failed during the last run (--rerun). Combined
+  with live reloading (e. g., using ghcid or stack test --file-watch), it
+  gives an ultimate power to focus on broken parts and put them back in
+  shape, enjoying a tight feedback loop.
+
+* Rerun only tests, which have beed added since the last saved test
+  run. This comes handy when writing a new module, which does not affect
+  other parts of the system, or adding new test cases.
+
+* Rerun only tests, which passed during the last saved test run. Sometimes
+  a part of the test suite is consistently failing (e. g., an external
+  service is temporarily down), but you want be sure that you are not
+  breaking anything else in course of your work.
Index: pkgsrc/devel/hs-tasty-rerun/Makefile
diff -u /dev/null pkgsrc/devel/hs-tasty-rerun/Makefile:1.1
--- /dev/null   Tue Oct 31 17:55:54 2023
+++ pkgsrc/devel/hs-tasty-rerun/Makefile        Tue Oct 31 17:55:54 2023
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2023/10/31 17:55:54 pho Exp $
+
+DISTNAME=      tasty-rerun-1.1.19
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Rerun only tests which failed in a previous test run
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.include "../../devel/hs-split/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-tasty/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-tasty-rerun/PLIST
diff -u /dev/null pkgsrc/devel/hs-tasty-rerun/PLIST:1.1
--- /dev/null   Tue Oct 31 17:55:54 2023
+++ pkgsrc/devel/hs-tasty-rerun/PLIST   Tue Oct 31 17:55:54 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/31 17:55:54 pho Exp $
+lib/tasty-rerun-${PKGVERSION}/${HS_VERSION}/package-description
+lib/tasty-rerun-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Test/Tasty/Ingredients/Rerun.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Test/Tasty/Ingredients/Rerun.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Test/Tasty/Ingredients/Rerun.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/Test-Tasty-Ingredients-Rerun.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/synopsis.png
+${PLIST.doc}share/doc/${HS_PLATFORM}/tasty-rerun-${PKGVERSION}/html/tasty-rerun.haddock
Index: pkgsrc/devel/hs-tasty-rerun/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-tasty-rerun/buildlink3.mk:1.1
--- /dev/null   Tue Oct 31 17:55:54 2023
+++ pkgsrc/devel/hs-tasty-rerun/buildlink3.mk   Tue Oct 31 17:55:54 2023
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/31 17:55:54 pho Exp $
+
+BUILDLINK_TREE+=       hs-tasty-rerun
+
+.if !defined(HS_TASTY_RERUN_BUILDLINK3_MK)
+HS_TASTY_RERUN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-tasty-rerun+= hs-tasty-rerun>=1.1.19
+BUILDLINK_ABI_DEPENDS.hs-tasty-rerun+= hs-tasty-rerun>=1.1.19
+BUILDLINK_PKGSRCDIR.hs-tasty-rerun?=   ../../devel/hs-tasty-rerun
+
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.include "../../devel/hs-split/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-tasty/buildlink3.mk"
+.endif # HS_TASTY_RERUN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-tasty-rerun
Index: pkgsrc/devel/hs-tasty-rerun/distinfo
diff -u /dev/null pkgsrc/devel/hs-tasty-rerun/distinfo:1.1
--- /dev/null   Tue Oct 31 17:55:54 2023
+++ pkgsrc/devel/hs-tasty-rerun/distinfo        Tue Oct 31 17:55:54 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/31 17:55:54 pho Exp $
+
+BLAKE2s (tasty-rerun-1.1.19.tar.gz) = dcdd495712f9b0aab15224e5202176ecb2d1385a2e246bec2492cee89c63ca66
+SHA512 (tasty-rerun-1.1.19.tar.gz) = ba6d801fc69d30648f81d0b0cd14d82b07d93b5a3182627ce0aad21384915a30695ad8b0af168bd6ab8825d05275c01655f7266ae0cd12d76a01b989a695ff4f
+Size (tasty-rerun-1.1.19.tar.gz) = 6607 bytes



Home | Main Index | Thread Index | Old Index