This limitation has basically always existed, but for the next patch to
function this is a requirement. This limitation will be properly fixed
later in this series.

Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
 framework/programs/run.py | 4 ++++
 1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/framework/programs/run.py b/framework/programs/run.py
index bf0cebe..73bdc9a 100644
--- a/framework/programs/run.py
+++ b/framework/programs/run.py
@@ -316,6 +316,10 @@ def run(input_):
     profile.results_dir = args.results_path
     # If a test list is provided then set the forced_test_list value.
     if args.test_list:
+        if len(args.test_profiles) != 1:
+            raise exceptions.PiglitFatalError(
+                'Unable to force a test list with more than one profile')
+
         with open(args.test_list) as test_list:
             # Strip newlines
             profile.forced_test_list = list([t.strip() for t in test_list])
-- 
git-series 0.8.10
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to