This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Here is a script that is automating the build and test of a gcc tree. The interface uses a directory in which are scheduled patches to be tested. The tester goes to sleep for a minute if there is nothing in that directory. Otherwise it moves one of the patches to a testing directory, updates the trunk, patches, and goes for a bootstrap and test cycle. In a patch to test, one can insert comments that are processed by the checker: for example, here are the lines that I included in one of my patches for bootstrap and test on gcc13:
email: sebpop@gmail.com configure: --disable-multilib make: -j4 check:
These keywords should be at the beginning of a new line, and can be inserted anywhere in the patch file.
For the moment it is not possible to send emails from the compile farm, but the functionality should work if a sendmail is set up. My intent is to allow other users of the cfarm to scp their patches to this auto-tester patches directory.
I'm still quite annoyed by the fact that when new fails are inserted in trunk, there is no way to filter out these new fails from the fails due to the tested patch. One possible solution is to schedule every now and then a bootstrap of a pristine tree to reset the set of passing tests, but this can be done outside the tester.
Attachment:
patch_tester.sh
Description: Bourne shell script
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |