Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/benchmarks/linux-gputest/files/patch-gputest__gui.py
16461 views
1
--- gputest_gui.py.orig 2014-03-04 02:16:44 UTC
2
+++ gputest_gui.py
3
@@ -7,7 +7,7 @@
4
5
import os
6
#from subprocess import call
7
-import Tkinter as tk
8
+import tkinter as tk
9
10
11
root = tk.Tk()
12
@@ -90,7 +90,7 @@ def prepare_command_line():
13
index = cs[0]
14
seltext = listbox1.get(index)
15
else:
16
- print "\nPlease select a test (FurMark is the default test)."
17
+ print("\nPlease select a test (FurMark is the default test).")
18
index = 0
19
seltext = listbox1.get(index)
20
21
@@ -98,7 +98,7 @@ def prepare_command_line():
22
for demo in allDemos:
23
if demo.demo_name == seltext:
24
demo_code = demo.demo_code
25
- g_command_line = "./GpuTest /test='%s' /width=%d /height=%d /gpumon_terminal" % (demo_code, g_width, g_height)
26
+ g_command_line = "gputest /test='%s' /width=%d /height=%d /gpumon_terminal" % (demo_code, g_width, g_height)
27
if (fullscreen.get() == 1):
28
g_command_line += " /fullscreen"
29
30
31