Commit b227bb35 authored by Kenneth Graunke's avatar Kenneth Graunke

Fix 'piglit resume'

metadata.json contains 'force_glsl' but not 'glsl'.  I guess it must
have gotten renamed at some point.  Fixes the following traceback when
attempting to call 'piglit resume':

Traceback (most recent call last):
  File "/home/kayden/Projects/piglit/piglit", line 178, in <module>
    main()
  File "/home/kayden/Projects/piglit/piglit", line 174, in main
    sys.exit(runner(args))
  File "/home/kayden/Projects/piglit/framework/exceptions.py", line 52, in _inner
    func(*args, **kwargs)
  File "/home/kayden/Projects/piglit/framework/programs/run.py", line 439, in resume
    options.OPTIONS.force_glsl = results.options['glsl']
Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
parent bf53cc10
......@@ -436,7 +436,7 @@ def resume(input_):
options.OPTIONS.process_isolation = results.options['process_isolation']
options.OPTIONS.jobs = args.jobs
options.OPTIONS.no_retry = args.no_retry
options.OPTIONS.force_glsl = results.options['glsl']
options.OPTIONS.force_glsl = results.options['force_glsl']
core.get_config(args.config_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment