From: Bruno Haible Date: Fri, 12 Apr 2024 13:47:54 +0000 (+0200) Subject: gnulib-tool.py: Persist the --with-longrunning-tests option. X-Git-Tag: v1.0~120 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d8caab631891f7a9bdbcec7378570a41006b2aa5;p=gnulib.git 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/ChangeLog b/ChangeLog index a75c13ad09..5242e3a982 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-04-12 Bruno Haible + + 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. + 2024-04-12 Bruno Haible gnulib-tool.py: Print warnings just like gnulib-tool.sh. 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']):