From 29e409ca68dd263da72ba13548a86be77097961f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 29 Jul 2024 15:28:34 +0200 Subject: [PATCH] gnulib-tool-tests: Update after gnulib-tool.py changed. --- gnulib-tool-tests/README | 4 ++++ gnulib-tool-tests/create-tests/test-create-testdir-4.sh | 2 +- gnulib-tool-tests/info-tests/test-help.output | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gnulib-tool-tests/README b/gnulib-tool-tests/README index 9526887e..8dd2baa8 100644 --- a/gnulib-tool-tests/README +++ b/gnulib-tool-tests/README @@ -3,6 +3,10 @@ This directory contains unit tests for gnulib-tool. Before using it, set the environment variables - GNULIB_SRCDIR - points to the directory that contains gnulib-tool - GNULIB_TOOL_IMPL - determines the implementation of gnulib-tool. +and make sure that you have + autoconf 2.72 + automake 1.16.5 +in your PATH. The directory gnulib-data contains a particular version of gnulib, namely commit 35245921a8f0eace93bef05814525673078b58c7 from the stable-202401 branch, diff --git a/gnulib-tool-tests/create-tests/test-create-testdir-4.sh b/gnulib-tool-tests/create-tests/test-create-testdir-4.sh index 6e82688e..72a31b58 100755 --- a/gnulib-tool-tests/create-tests/test-create-testdir-4.sh +++ b/gnulib-tool-tests/create-tests/test-create-testdir-4.sh @@ -1,3 +1,3 @@ #!/bin/sh . ../init.sh -do_create_test "--create-testdir --single-configure --with-c++-tests --without-privileged-tests" +do_create_test "--create-testdir --single-configure --with-c++-tests --without-privileged-tests --avoid=config-h --avoid=non-recursive-gnulib-prefix-hack --avoid=timevar --avoid=mountlist --avoid=lib-ignore" diff --git a/gnulib-tool-tests/info-tests/test-help.output b/gnulib-tool-tests/info-tests/test-help.output index 9b3b1114..630d7651 100644 --- a/gnulib-tool-tests/info-tests/test-help.output +++ b/gnulib-tool-tests/info-tests/test-help.output @@ -13,9 +13,12 @@ Usage: gnulib-tool --list gnulib-tool --extract-status module gnulib-tool --extract-notice module gnulib-tool --extract-applicability module + gnulib-tool --extract-usability-in-testdir module gnulib-tool --extract-filelist module gnulib-tool --extract-dependencies module gnulib-tool --extract-recursive-dependencies module + gnulib-tool --extract-dependents module + gnulib-tool --extract-recursive-dependents module gnulib-tool --extract-autoconf-snippet module gnulib-tool --extract-automake-snippet module gnulib-tool --extract-include-directive module @@ -51,11 +54,17 @@ Operation modes: --extract-status extract the status (obsolete etc.) --extract-notice extract the notice or banner --extract-applicability extract the applicability + --extract-usability-in-testdir extract the usability in testdirs --extract-filelist extract the list of files --extract-dependencies extract the dependencies --extract-recursive-dependencies extract the dependencies of the module and its dependencies, recursively, all together, but without the conditions + --extract-dependents list the modules which depend on the given + module directly. This is also known as the + "reverse dependencies". + --extract-recursive-dependents list the modules which depend on the given + module directly or indirectly --extract-autoconf-snippet extract the snippet for configure.ac --extract-automake-snippet extract the snippet for library makefile --extract-include-directive extract the #include directive -- 2.39.5