lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Logfiles from build


From: Julien Rioux
Subject: Re: Logfiles from build
Date: Fri, 17 Jun 2011 14:18:55 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

On 17/06/2011 2:11 PM, Graham Percival wrote:
On Fri, Jun 17, 2011 at 06:32:22PM +0100, Phil Holmes wrote:
----- Original Message ----- From: "Graham Percival"
<address@hidden>
with my memory of recent discussions, I know to look in
/home/gperciva/src/lilypond/build/out/lybook-db/snippet-names--25272072.log

This kind of issue prompted my suggestion about gathering the
logfiles in a consistent place.

Saying "look at one of the snippet-names--12345687.log files" is
not the best solution.

I don't think it's likely that we'll be able to prompt people to
look there as a result of an error message from make,

I do think it's likely.

Have you tried my suggestion of using || ?  If it didn't work,
then how precisely did it not work?

- Graham


You suggest:
Again, on the shell, it would be something like this:
  make ...blah... || echo "build failed" && tail logfile
but there might be a nicer way to do it.

but then when blah fails, make will not stop, since the return status from echo && tail is a success (assuming the log file exists). How would you return failure and force make to stop?

--
Julien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]