Path: blob/main/benchmarks/linux-gputest/files/patch-gputest__gui.py
16461 views
--- gputest_gui.py.orig 2014-03-04 02:16:44 UTC1+++ gputest_gui.py2@@ -7,7 +7,7 @@34import os5#from subprocess import call6-import Tkinter as tk7+import tkinter as tk8910root = tk.Tk()11@@ -90,7 +90,7 @@ def prepare_command_line():12index = cs[0]13seltext = listbox1.get(index)14else:15- print "\nPlease select a test (FurMark is the default test)."16+ print("\nPlease select a test (FurMark is the default test).")17index = 018seltext = listbox1.get(index)1920@@ -98,7 +98,7 @@ def prepare_command_line():21for demo in allDemos:22if demo.demo_name == seltext:23demo_code = demo.demo_code24- g_command_line = "./GpuTest /test='%s' /width=%d /height=%d /gpumon_terminal" % (demo_code, g_width, g_height)25+ g_command_line = "gputest /test='%s' /width=%d /height=%d /gpumon_terminal" % (demo_code, g_width, g_height)26if (fullscreen.get() == 1):27g_command_line += " /fullscreen"28293031