RFC: Another automated gcc test script

H.J. Lu hongjiu.lu@intel.com
Tue Jan 25 06:21:00 GMT 2011


Hi,

This is another automated gcc test script I have been using. I use it to
track gcc trunk as well as gcc release branches. I also use it to track
SPEC CPU 2K/2006.  It is designed as a cron job.  It checks out, builds
and tests gcc only if there are changes relevant to x86.

I have

---
PATH=/usr/local/bin:/bin:/usr/bin
# Build gcc every 15 minutes from 10pm to 4am.
10,25,40,55 0-4,22-23 * * * /export/gnu/import/svn/gcc-test-intel64/gcc-build --with-cpu=atom > /dev/null 2>&1
# Build gcc every 15 minutes from 6am to 8pm.
10,25,40,55 6-20 * * * /export/gnu/import/svn/gcc-test-intel64/gcc-build > /dev/null 2>&1
---

on Linux/x86-64 to test gcc for Linux/x86-64 and have

--
PATH=/usr/local32/bin:/bin:/usr/bin
# Build gcc every 15 minutes from 9pm to 5am
10,25,40,55 0-5,21-23 * * * /export/gnu/import/svn/gcc-test-ia32/gcc-build --with-cpu=atom -m32 >
/dev/null 2>&1
# Build gcc every 15 minutes from 6am to 8pm
10,25,40,55 6-20 * * * /export/gnu/import/svn/gcc-test-ia32/gcc-build -m32 > /dev/null 2>&1
---

on Linux/x86-64 to test gcc for Linux/ia32.  I have 32bit binutils
installed under /usr/local32. It works with gcc 4.5 and above.

Any comments?

Thanks.


H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-test.tar.bz2
Type: application/x-bzip2
Size: 5033 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110125/96f41b76/attachment.bz2>


More information about the Gcc-patches mailing list