Command Line
To better support running tests via scripts or in an otherwise automated manner, MobileMark 2007 provides a command line interface for launching tests. This feature is particularly useful for labs that are equipped with timers or network-accessible tools to control switching of AC power (i.e., for battery charging and unplugging at the start of testing).
The MobileMark 2007 executable file can be found here:
<ProgramFiles>\BAPCo\MobileMark 2007\bin\MobileMark2007.exe
Usage:
MobileMark2007.exe projectname=project_name scenario=scenario_name [shutDownOnError=true]
-
projectname=project_name (required) — project_name is an identifier used to uniquely identify this test; any name you like
-
scenario=scenario_name (required) — scenario_name is the scenario you wish to run; one of: "Productivity 2007", "DVD 2007", "Reader 2007"
-
shutDownOnError (optional) — determines the action MobileMark should take if a test error occurs; if not present, MobileMark adopts default behavior, which is to keep any error messages open on the screen (with the consequence that the system will eventually shut down when the battery dies); if present, MobileMark shuts down the system immediately (preserving the battery life that remains); in either case, the error will be logged and a screenshot will be recorded by MobileMark
Examples:
MobileMark2007.exe projectname="prod_adaptive_cpu" scenario="Productivity 2007"
MobileMark2007.exe projectname="dvd_max_brightness" scenario="DVD 2007" shutDownOnError