pkgsrc-WIP-changes archive

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

coccinelle: Adjust TEST_TARGET to current one and add info about failed tests



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Jul 8 00:21:54 2020 +0200
Changeset:	905a2cdeae850a5117e63d506b163b95c20cd55d

Modified Files:
	coccinelle/Makefile
	coccinelle/TODO

Log Message:
coccinelle: Adjust TEST_TARGET to current one and add info about failed tests

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=905a2cdeae850a5117e63d506b163b95c20cd55d

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

diffstat:
 coccinelle/Makefile |  2 +-
 coccinelle/TODO     | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diffs:
diff --git a/coccinelle/Makefile b/coccinelle/Makefile
index 10b72b431f..4720b96356 100644
--- a/coccinelle/Makefile
+++ b/coccinelle/Makefile
@@ -24,7 +24,7 @@ BUILD_TARGET=	all all.opt
 
 REPLACE_PYTHON=	tools/pycocci
 
-TEST_TARGET=	test
+TEST_TARGET=	check
 
 pre-configure:
 	cd ${WRKSRC} && ${SH} ./autogen
diff --git a/coccinelle/TODO b/coccinelle/TODO
index ed191503dc..fc1cbf2deb 100644
--- a/coccinelle/TODO
+++ b/coccinelle/TODO
@@ -6,3 +6,20 @@ should be investigated further and if possible fixed:
    XXXleot: provide a simple command to test that.
     
     -- leot (2017/10/10)
+
+ - Test fails with:
+
+    bc_1.res
+    Traceback (most recent call last):
+      File "<frozen importlib._bootstrap>", line 1171, in _install_external_importers
+      File "<frozen importlib._bootstrap>", line 988, in _find_and_load
+      File "<frozen importlib._bootstrap>", line 149, in __enter__
+      File "<frozen importlib._bootstrap>", line 84, in acquire
+    RuntimeError: no current thread ident
+    Fatal Python error: init_importlib_external: external importer setup failed
+    Python runtime state: core initialized
+    
+    Current thread 0xffffffffffffffff (most recent call first):
+    <no Python frame>
+    gmake: *** [Makefile:267: check] Error 1
+    *** Error code 2


Home | Main Index | Thread Index | Old Index