[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib-tool.py: Persist the --with-longrunning-tests option
From: |
Bruno Haible |
Subject: |
gnulib-tool.py: Persist the --with-longrunning-tests option |
Date: |
Fri, 12 Apr 2024 15:48:19 +0200 |
This test failure
$ ./test-cache-1-7.sh
Files ./test-cache-1-7.result/m4/gnulib-cache.m4 and
tmp1858286-result/m4/gnulib-cache.m4 differ
FAIL: gnulib-tool's result has unexpected differences.
$ diff -u ./test-cache-1-7.result/m4/gnulib-cache.m4
tmp1858286-result/m4/gnulib-cache.m4
--- ./test-cache-1-7.result/m4/gnulib-cache.m4 2024-04-12 00:17:21.791623238
+0200
+++ tmp1858286-result/m4/gnulib-cache.m4 2024-04-12 15:33:58.097044498
+0200
@@ -44,7 +44,6 @@
gl_MODULES([
])
-gl_WITH_LONGRUNNING_TESTS
gl_AVOID([])
gl_SOURCE_BASE([lib])
gl_M4_BASE([m4])
is fixed by this patch.
2024-04-12 Bruno Haible <bruno@clisp.org>
gnulib-tool.py: Persist the --with-longrunning-tests option.
* pygnulib/GLImport.py (GLImport.gnulib_cache): Conditionally add
gl_WITH_LONGRUNNING_TESTS to gnulib-cache.m4.
diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
index b200c7b250..903bd2e581 100644
--- a/pygnulib/GLImport.py
+++ b/pygnulib/GLImport.py
@@ -548,6 +548,8 @@ class GLImport:
emit += 'gl_WITH_OBSOLETE\n'
if self.config.checkInclTestCategory(TESTS['cxx-tests']):
emit += 'gl_WITH_CXX_TESTS\n'
+ if self.config.checkInclTestCategory(TESTS['longrunning-tests']):
+ emit += 'gl_WITH_LONGRUNNING_TESTS\n'
if self.config.checkInclTestCategory(TESTS['privileged-tests']):
emit += 'gl_WITH_PRIVILEGED_TESTS\n'
if self.config.checkInclTestCategory(TESTS['unportable-tests']):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnulib-tool.py: Persist the --with-longrunning-tests option,
Bruno Haible <=