Closed Bug 584753 Opened 15 years ago Closed 14 years ago

runtests.py: do all environment inspection checking before initiating any benchmarks

Categories

(Tamarin Graveyard :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Q1 12 - Brannan

People

(Reporter: cpeyer, Assigned: cpeyer)

References

Details

From Felix: Another suggestion: do all environment inspection checking before initiating any benchmarks. I just ran into this, where the runtests script eagerly started running all the compiled asmicro benchmarks, but then upon finishing that, it died with a message that "ERROR: shell .abc does not exist, ..." I understand that we may not want to unconditionally require that all runs set SHELLABC or pass --shellabc argument, since it is not necessary in all cases (namely if all the object code has been compiled, right?) But it should be easy and quick to first do a prepass checking if all of the necessary object code is in place, and if any are missing, *then* check if the environment is properly configured to do a compile. (You could even compile a dummy file to really make sure the whole pipeline is clean...)
Assignee: nobody → cpeyer
Status: NEW → ASSIGNED
Flags: flashplayer-qrb+
Target Milestone: --- → flash10.1.x-Salt
Target Milestone: flash10.1.x-Salt → flash10.2.x-Spicy
Target Milestone: flash10.2.x-Spicy → flash10.x - Serrano
Blocks: 607714
Target Milestone: Q3 11 - Serrano → Q1 12 - Brannan
One issue with this is we sometimes run the tests on platforms that do not have the compiler available (we copy pre-built .abc files). A command line switch (--checkenv?) could be added to verify that all nec. files are there before starting the run. Overall though I don't think this bites too many people once they are setup. I suggest resolve wontfix unless more people are affected.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.