[Piglit] [PATCH] Piglit-print-command: Remove the second parameters of 'loadTestProfile' when calling.

Kenneth Graunke kenneth at whitecape.org
Fri Jan 4 23:02:07 PST 2013


On 01/04/2013 09:29 PM, Yi Sun wrote:
> Because of the modification of function loadTestProfile's defination, fix the parameters when calling it.
>
> Signed-off-by: Yi Sun <yi.sun at intel.com>
>
> diff --git a/piglit-print-commands.py b/piglit-print-commands.py
> index 5536856..7a3ba14 100755
> --- a/piglit-print-commands.py
> +++ b/piglit-print-commands.py
> @@ -101,7 +101,7 @@ def main():
>   	piglit_dir = path.dirname(path.realpath(sys.argv[0]))
>   	os.chdir(piglit_dir)
>
> -	profile = core.loadTestProfile(profileFilename, "$GLEAN_RESULT_DIR")
> +	profile = core.loadTestProfile(profileFilename)
>
>   	# If resuming an interrupted test run, re-write all of the existing
>   	# results since we clobbered the results file.  Also, exclude them

Oh!  Very sorry for breaking that.  I've pushed your fix.  Thanks!


More information about the Piglit mailing list