Test Workload for Windows*
The data streams optimizer on the target system uses this script as an empty sample workload for the Windows* OS.
For a full example of the sample workload, see the workload for Yocto Project*-based board support package,
tools/demo/workloads/bin/mrl_validation_script.py
.
To prepare a validation script for your workload, see Create a Workload Validation Script.The script must meet the following requirements to maintain compatibility with the data streams optimizer:
- Input: Any arguments, which should be specified in the requirement file.
- Output: 0 or 1 in return value. 0 means the workload passed, 1 means the workload failed.
- Error handling: Any nonzero value returned from the script will be interpreted as an error. Any additional logging should be printed to STDERR.
Example:
Command line: tools/target_scripts_win/test_workload.py
STDOUT: Info: workload succeeded
Return value: 0
STDERR: empty