Closed Bug 607746 Opened 16 years ago Closed 16 years ago

buildbot: also run commandline tests against debug shell

Categories

(Tamarin Graveyard :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cpeyer, Assigned: cpeyer)

References

Details

Attachments

(2 files)

We currently only run the commandline tests against release and release-debugger. We lack coverage by not also running debug and debug-debugger.
Flags: flashplayer-triage+
This doesn't directly relate to this but, but since its just a code re-org i'm attaching here. This patch moves all the download code from individual scripts into two functions in environment.sh.
Assignee: nobody → cpeyer
Status: NEW → ASSIGNED
Attachment #486491 - Flags: review?(dschaffe)
Requires patch #1 to be applied first. Since AVM and AVMRD is hardcoded into a bunch of the commandline test code, instead of changing that this just sets AVM=debug and AVMRD=debug_debugger. The commandline tests are then run and the results appended to the previous run in cmdline.txt.
Attachment #486493 - Flags: review?(dschaffe)
Comment on attachment 486491 [details] [diff] [review] Move download code to environment.sh look good. I like the idea of having download_asc in a reusable. I think of environment.sh as environment variables but beingSilent and endSilent are there. If it gets too big we should move these into something like: utility_functions.sh or something.
Attachment #486491 - Flags: review?(dschaffe) → review+
Comment on attachment 486493 [details] [diff] [review] Run commandline tests against debug & debug_debugger shells looks good. In other places we use AVM=release and AVMD=debug but setting AVM to debug and rerunning is a good idea. We should document somewhere how this works. When someone adds a test they may not run it against debug and debug-debugger but the sandbox should catch any problems. We really should be running the cmdline tests against debug since assertions will be tested especially in the cli debugger.
Attachment #486493 - Flags: review?(dschaffe) → review+
Is there any chance we could modify the commandline suite so that it just runs against AVM, and if it has a debugger then run debugger tests? I think it is better to have all of our test drivers just accept a single VM to run against.
Filed Bug 608091 to address commandline suite improvements. I'll push this patch so that we are testing debug-* shells in buildbot. Pushed to redux: http://hg.mozilla.org/tamarin-redux/rev/ed6a0a4fc481
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
See Also: → 608091
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: