[llvm-testresults] smoosh-01.apple.com nightly tester results

Daniel Dunbar daniel at zuster.org
Mon Jul 13 11:11:24 PDT 2009


Ignore that, grawp-PIC apparently doesn't run the JIT tests. Sigh I
hate nightlytest.

lemon, btw, is the test which has this delightful bit of code. Hurray
for timing fork().
--
 /* llvm-test supports only running program once,
 * we need to run it multiple times, because it only accepts
 * one input a time, and has a global state */
int main(int argc, char **argv)
{
	int j,i = 0;
	for(j=0;j<20;j++) {
		/* test finishes too fast, run more times to get
		 * meaningful timings */
		for(i=1;i<argc;i++) {
			int status;
			pid_t p = fork();
			if(p == 0) {
				char *argv_child[] = {"lemon-child","-s",argv[i],NULL};
				/* child */
				fprintf(stdout,"Processing %s\n",argv[i]);
				exit( lemon_main(3, argv_child) );
			}
			while(wait(&status) == -1 && errno == EINTR) {}
			if(status) {
				fprintf(stderr,"Error while running on: %s\n",argv[i]);
			}
		}
	}
	return 0;
}
--

 - Daniel


On Mon, Jul 13, 2009 at 11:05 AM, Daniel Dunbar<daniel at zuster.org> wrote:
> See here:
>  http://smooshlab.apple.com/perf.cgi/nightlytest/programs/4597/
>
> It works on grawp, but fails on grawp-PIC.
>
>  - Daniel
>
> On Mon, Jul 13, 2009 at 10:44 AM, Dale Johannesen<dalej at apple.com> wrote:
>>
>> On Jul 12, 2009, at 10:39 PMPDT, Evan Cheng wrote:
>>>
>>> I just noticed lemon JIT is failing. Stuart, can you take a look?
>>> Thanks.
>>
>> lemon JIT takes a long time (it normally times out on ppc).  It may well be
>> that it's timing out now when it wasn't before as a side effect of whatever
>> the slowdown problem is.  Seems to work on grawp.
>>
>>
>




More information about the llvm-testresults mailing list