Closed Bug 368610 Opened 18 years ago Closed 17 years ago

mozilla/testing/performance Linux port

Categories

(Release Engineering :: General, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Unassigned)

References

Details

Attachments

(1 file)

I have ported the test harness that lives in mozilla/testing/performance to Linux.

Here's a quick summary of the changes:
ffprocess.py - All of the win32ext code was replaced with standard python 2.4 modules. Specifically, os, signal, subprocess, and select.
ffprofile.py - Unchanged.
paths.py - Removed Windows specific variables and updated the default paths.
run_tests.py - Update configuration file code -- some versions of syck load from a file, others load from a string.
tp.py - Replaced all win32pdh code with a custom performance measurement class.
ts.py - Unchanged.
README.txt - Updated to reflect new requirements.
This extension breaks the existing functionality of the framework on windows.  

We'll need to either create a new directory that is linux specific - which would have the down side of resulting in a lot of code duplication.  Otherwise we'll have to determine a method of wrapping the OS specific code into a generic library that can be called by tp.py/ts.py/run_tests.py/etc.

rhelmer: do you have any examples of similar cross platform code and how it handles this sort of problem?  I would really prefer to abstract out the operating system differences.
Isn't this ported already? :)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: Testing → Release Engineering
Product: Core → mozilla.org
QA Contact: testing → release
Version: Trunk → other
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: