<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Once you build the code to analyze a make log, you can provide
alternate ways to view the info.<br>
<br>
1. Use a tree of html files as I described.<br>
<br>
2. Write a Java utility that hides the tree of HTML files, so that
you can just go<br>
% make-browse make.log<br>
and have it analyse the text on the fly.<br>
<br>
-- Jon<br>
<br>
On 06/21/2012 11:39 AM, Mani Sarkar wrote:
<blockquote
cite="mid:CAGHtMWkXgZXLeQ8giNOGMcVVneapw_+rT3CMuw46S7A8kXa4QQ@mail.gmail.com"
type="cite">
<p>That's a great start, I find the idea interesting.</p>
<p>+1 nested logs, clicking, etc</p>
<div class="gmail_quote">On 21 Jun 2012 19:24, "Jonathan Gibbons"
<<a moz-do-not-send="true"
href="mailto:jonathan.gibbons@oracle.com">jonathan.gibbons@oracle.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> In a previous job, I
wrote a script to convert a make log into series of HTML
files, such that recursive makes were detected, so that if
one make file invoked another, the output from the child
make was moved to separate file and then replaced in the
parent log by a link. The result is a tree of Makefiles that
you can easily browse through. It's easy to add in
additional features to compress long command lines that
expand when you click on them, etc. Was it useful back
then: yes, very. Would it be useful now? Maybe not so
much, especially with the new makefiles coming online.<br>
<br>
-- Jon<br>
<br>
<br>
<br>
On 06/21/2012 10:11 AM, Mani Sarkar wrote:
<blockquote type="cite">
<p>Thanks Kelly for the response, I do understand its not
a top prio requirement.</p>
<p>Maybe I might be a able to help you out there with some
utility program . ;) don't want to make any promises but
when I get around it ill post a.copy of the program to
the list.</p>
<p>Cheers,<br>
Mani</p>
<div class="gmail_quote">On 21 Jun 2012 17:51, "Kelly
O'Hair" <<a moz-do-not-send="true"
href="mailto:kelly.ohair@oracle.com" target="_blank">kelly.ohair@oracle.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div style="word-wrap: break-word;">
<div><br>
</div>
These messages are just echos of the commands being
run, if you have a suggested change to make them
<div>somehow more readable, I'm sure we would
consider it. But it's not a high item on my
priority list. Sorry.</div>
<div><br>
</div>
<div>When some of this original makefile logic was
written, jtreg was pretty basic, and it has
changed since then,</div>
<div>such that we might be able to simplify some of
this makefile shell logic.</div>
<div> <br>
</div>
<div>-kto</div>
<div><br>
<div>
<div>On Jun 21, 2012, at 2:16 AM, Mani Sarkar
wrote:</div>
<br>
<blockquote type="cite">
<p>Thanks ill take a look at it.</p>
<p>I do have a suggestion though if there
could be tabs, spaces and some sort of
indentation added to the messages and logs
the makes and scripts display. I love the
fact that they are so verbose just a bit of
tweak will help us able to read these msgs
easily .</p>
<p>Thanks again.</p>
<p>Mani</p>
<div class="gmail_quote">On 21 Jun 2012 09:56,
"Weijun Wang" <<a moz-do-not-send="true"
href="mailto:weijun.wang@oracle.com"
target="_blank">weijun.wang@oracle.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> Hi Mani<br>
<br>
Welcome to the OpenJDK!<br>
<br>
On 06/21/2012 02:31 PM, Mani Sarkar wrote:<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;"> Hi<br>
<br>
I have been configuring and testing the
JTRegs with OpenJDK on Ubuntu<br>
12.04 and attached are couple of log
files with errors.<br>
<br>
Can someone help me out understand where
the config for the JTRegs is<br>
going wrong, or is it a different
problem altogether.<br>
<br>
One of them mentions win32 in the log,
while I'm using linux. I have<br>
attached .sh file that updates the
environment along with this message.<br>
</blockquote>
<br>
test1.log has<br>
<br>
-jdk:/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-amd64<br>
<br>
so it's using the build inside
jdk8_tl/jdk. I guess you directly call
make in jdk8_tl and your build is also
there. I read the Makefile a little and
seems you can try again your test with<br>
<br>
make
ALT_OUTPUTDIR=/home/openjdk/sources/jdk8_tl/build/linux-amd64
jdk_util<br>
<br>
Please do not set the ALT_OUTPUTDIR
variable permanent as it might interfere
with your build.<br>
<br>
*Kelly*: Is it true that launching a test
from the top directory cannot use the
control build?<br>
<br>
As for test2.log, it shows
JT_HOME=/home/openjdk/jtreg/linux/bin. It
should be only /home/openjdk/jtreg.<br>
<br>
It's OK to see a win32, those scripts are
essentially the same across platforms.<br>
<br>
Good luck!<br>
<br>
-Max<br>
<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;"> <br>
Regards,<br>
Mani<br>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>