[distcc] distcc 2.12.1 test suite patch
Yang Tj-ATY010
ATY010 at motorola.com
Thu Feb 19 13:52:17 GMT 2004
> -----Original Message-----
> From: distcc-bounces+aty010=motorola.com at lists.samba.org
> [mailto:distcc-bounces+aty010=motorola.com at lists.samba.org]On
> Behalf Of
> Albert Chin
> Sent: Thursday, February 19, 2004 3:18 AM
> To: distcc at lists.samba.org
> Subject: [distcc] distcc 2.12.1 test suite patch
>
>
> Patch below to get test suite working on most of the platforms we
> support:
> 1. Not much use in testing with the native compiler so we *force*
> the test suite to use gcc.
>
> 2. Rather than picking up gcc from $PATH, we pass the full path
> to GCC. This avoids problems when distccd is running.
>
> 3. I've added known failures on some platforms. For example, the
> assembler test should only run on Linux x86. Where we know
> the test will fail, we print:
> DashONoSpace_Case NOTRUN, GCC mips-tfile
> wants space after -o
> ...
> RemoteAssemble_Case NOTRUN, Linux x86 only
> PreprocessAsm_Case NOTRUN, Linux x86 only
> ...
>
> The tests pass on:
> HP-UX 10.20, 11.00, 11i; IRIX 6.5;
> Redhat Linux 7.1, 9; Solaris 7, 8, 9; Tru64 UNIX 4.0d, 5.1
>
> Failures:
> 1. Solaris 2.5.1, 2.6 hang after NoDetachDaemon_Case.
> 3. AIX 4.3.2, 5.1 hang at BigAssFile_Case and fail
> ImplicitCompiler_Case
> (the IBM C compiler wants the cwd to be writable).
> Should I disable
> ImplicitCompiler_Case or should distcc call 'gcc' as the default
> compiler rather than 'cc'?
>
> One odd thing that happens on HP-UX and Tru64 UNIX is that the
> distccd's run during the test don't end after the tests complete. Why?
>
> Also, due to the large number of distccd processes run during the test
> suite, I had to bump my process/user limit up (AIX, HP-UX,
> Tru64 UNIX).
>
I have not been able to produce a sucessful test on solaris 2.6,2.8,2.9
and rh7.3.
tj
1. solaris 2.8
<snip>
/usr/ccs/bin/as: error: write error on output file "testtmp.o"
Feb 19 07:10:13 build284 distccd[5183]: [ID 702911 daemon.error] ERROR: can't use TMPDIR "/opt/build/distcc-2.12.1/testtmp/ThousandFold_Case/tmp": Permission denied
OK
BigAssFile_Case Feb 19 07:11:13 build284 last message repeated 1 time
Feb 19 07:12:34 build284 distccd[10176]: [ID 702911 daemon.error] ERROR: failed to open pid file: /opt/build/distcc-2.12.1/testtmp/BigAssFile_Case/daemonpid.tmp: Permission denied
Feb 19 07:12:37 build284 distccd[10181]: [ID 702911 daemon.error] ERROR: can't use TMPDIR "/opt/build/distcc-2.12.1/testtmp/BigAssFile_Case/tmp": Permission denied
OK
*** Error code 1
make: Fatal error: Command failed for target `maintainer-check'
error: error executing script
root at build284> uname -a
SunOS build284 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire-280R
root at build284>
2.
More information about the distcc
mailing list