diff options
Diffstat (limited to 'crosperf/experiment_factory.py')
-rw-r--r-- | crosperf/experiment_factory.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crosperf/experiment_factory.py b/crosperf/experiment_factory.py index aa0e4cf0..20e0fdba 100644 --- a/crosperf/experiment_factory.py +++ b/crosperf/experiment_factory.py @@ -202,6 +202,9 @@ class ExperimentFactory(object): if suite != 'telemetry_Crosperf': raise RuntimeError('CWP approximation weight only works with ' 'telemetry_Crosperf suite') + if run_local: + raise RuntimeError('run_local must be set to False to use CWP ' + 'approximation') if weight > 1 or weight < 0: raise RuntimeError('Weight should be a float between 0 and 1') elif cwp_dso: |