Subject: host_execute and non-zero exit status
From: Marc Nieper-Wißkirchen <[email-masked]>
To: [email-masked]
Date: Wed, 23 Jul 2025 09:31:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

The host_execute procedure in dejagnu.exp (see [1]) doesn't seem to
check the exit status of the executed test programs. A test program
that simply aborts (e.g. using the C function of the same name) won't
cause any testsuite failures. This seems brittle and like a
misfeature.

What is the supposed way to deal with this?

Thanks,

Marc

--

[1] https://www.gnu.org/software/dejagnu/manual/Running-unit-tests.html