[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print Commands Executed by "make check"
From: |
Bob Friesenhahn |
Subject: |
Re: Print Commands Executed by "make check" |
Date: |
Sat, 26 Jul 2014 09:38:37 -0500 (CDT) |
User-agent: |
Alpine 2.01 (GSO 1266 2009-07-14) |
On Fri, 25 Jul 2014, Patrick wrote:
I am using autotools to run test suites by setting the TESTS variable in my
Makefile.am. Is there a way to print out the command that is getting
executed for each test that is being run?
The content of each test is up to you. A test might run arbitrary
commands using any sort of scripting language. If you want particular
output, then you will need to print it.
If you just want to debug your script and it is written using sh, then
you could add
set -x
to the script so that the shell prints out everything that it is
doing. The output is not particularly user friendly.
Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/