Hi Collin,
> I've pushed the attached patch. In gnulib-tool.sh the following is
> done:
>
> ../configure || func_exit 1
> $MAKE || func_exit 1
> [...]
>
> So here we can just use sp.run([command, arg], check=True) and exit if
> an exception occurs.
Thanks. I confirm that --test now
er.
[1]
https://docs.python.org/3/library/subprocess.html#using-the-subprocess-module
CollinFrom 17b859fb7bdaff11c0e22b366a66623f9c5b6f6d Mon Sep 17 00:00:00 2001
From: Collin Funk
Date: Wed, 8 May 2024 01:24:09 -0700
Subject: [PATCH] gnulib-tool.py: Fix behavior of --test when a subprocess
fails.