mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
telemetry: relaxing the initial validation check
It seems valid install may return values other than 0xff00. Relaxing the check to consider anything above 0xff to be valid.
This commit is contained in:
parent
8b606dd5f9
commit
1993007d49
@ -107,7 +107,7 @@ class Telemetry(Workload):
|
||||
|
||||
def validate(self):
|
||||
ret = os.system('{} > {} 2>&1'.format(self.run_benchmark_path, get_null()))
|
||||
if ret == 0xff00: # is it supposed to be 0xff?
|
||||
if ret > 255:
|
||||
pass # telemetry found and appears to be installed properly.
|
||||
elif ret == 127:
|
||||
raise WorkloadError('run_benchmarks not found (did you specify correct run_benchmarks_path?)')
|
||||
|
Loading…
x
Reference in New Issue
Block a user