Closed
Bug 476798
Opened 15 years ago
Closed 3 years ago
A simple shell and trace-test running script
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
INVALID
People
(Reporter: vlad, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
3.24 KB,
text/plain
|
Details |
Here's the script that I've been running on my little ARM box. This isn't a bug per se, but this is the easiest place to put this. It requires: - perl - Devel::Tinderbox::Reporter from CPAN (and a few misc prereqs) - curl - native compiler that autoconf can find - some kind of mail setup that the perl Mail thing can figure out how to send mail. I just installed postfix. Note that it does not require hg. When run, the script will: - use the atom-log via http to figure out the rev id of the tip - use the hg web interface to grab a tarball of the latest tracemonkey tree; it then pipes that tarball straight to tar and unpacks only the js dir (reducing target disk space reqs, but see note below) - runs autoconf - does builds with different buildargs (easy to customize/expand) - runs trace-tests.js It sucks that I have to download the entire tarball when all I want is the js dir; this is one of the slowest parts of the whole process on limited machines. We should probably set up a simple bouncer on some host that will do the download in a faster spot and serve just a js tarball over or similar.
Reporter | ||
Comment 1•15 years ago
|
||
Updated -- better handling if the pushlog is down for some reason, also uses TinderboxPrint to print the revision and test results.
Attachment #360446 -
Attachment is obsolete: true
Comment 2•15 years ago
|
||
I had a hard time getting the perl tinderbox stuff to run. bsmedberg has a python client. Its a bit specialized for browser builds but you can rip out the parts you care for. I had to make a gmail account I can send mail to via smtp to deliver the tinderbox emails. http://benjamin.smedbergs.us/blog/2006-12-21/tinderclientpy/ Here is a link that shows how to change the smtp sending code to use TLS (authentication): http://codecomments.wordpress.com/2008/01/04/python-gmail-smtp-example/
Reporter | ||
Comment 3•15 years ago
|
||
sudo perl -MCPAN -e 'install Devel::Tinderbox::Reporter' ?
Comment 4•15 years ago
|
||
#3: the local machine must run postfix and or sendmail for that script. I never managed to get that to work on the arm box.
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 5•3 years ago
|
||
Old bug, no longer valid.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•