[m-rev.] diff: eliminate redundant bootcheck output

Julien Fischer jfischer at opturion.com
Thu Jan 22 10:06:32 AEDT 2015


Hi Zoltan,

On Thu, 22 Jan 2015, Zoltan Somogyi wrote:

> This diff makes the output of bootcheck somewhat shorter,
> but it is still too long; it is still too hard to find any problems.
>
> I propose two further changes to how we do the tests.
>
> First, I propose that each test should be executed by a shell script,
> whose output is stored in a file, and that this file should be printed
> in the output of bootcheck ONLY if the test fails. We already do
> something like this, with output from program executions being stored
> in testname.log files, but I propose moving all output from the test,
> including the commands executed (by sh -x), and the output of the
> Mercury and C compilers, in this not-shown-if-the-test-works file.

That's fine by me.

> Second, to make the first change easier, to flatten out the test case
> directories. This would involve replacing e.g. tests/hard_coded/typeclasses
> with just tests/typeclasses. We considered this a long time ago, but
> it cannot be done without losing development history with CVS, but
> it should be possible to do with git.

Are you proposing to just flatten them out, or do you have a larger
restructing in mind?  (Either is fine by me.)

Cheers
Julien.



More information about the reviews mailing list