From dc679a4c360a9e8d6013fc9e6348e9468036a7e2 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:18:57 +0200 Subject: bin:gputest_benchmark -> gputest_benchmark.py --- bin/gputest_benchmark | 27 --------------------------- bin/gputest_benchmark.py | 27 +++++++++++++++++++++++++++ units/benchmarks/jobs.pxu | 12 ++++++------ 3 files changed, 33 insertions(+), 33 deletions(-) delete mode 100755 bin/gputest_benchmark create mode 100755 bin/gputest_benchmark.py diff --git a/bin/gputest_benchmark b/bin/gputest_benchmark deleted file mode 100755 index 4748e71..0000000 --- a/bin/gputest_benchmark +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python3 -# This file is part of Checkbox. -# -# Copyright 2013 Canonical Ltd. -# Written by: -# Sylvain Pineau -# -# Checkbox is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 3, -# as published by the Free Software Foundation. - -# -# Checkbox is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Checkbox. If not, see . - -import sys - -from checkbox_support.scripts.gputest_benchmark import main - - -if __name__ == '__main__': - sys.exit(main()) diff --git a/bin/gputest_benchmark.py b/bin/gputest_benchmark.py new file mode 100755 index 0000000..4748e71 --- /dev/null +++ b/bin/gputest_benchmark.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 +# This file is part of Checkbox. +# +# Copyright 2013 Canonical Ltd. +# Written by: +# Sylvain Pineau +# +# Checkbox is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 3, +# as published by the Free Software Foundation. + +# +# Checkbox is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Checkbox. If not, see . + +import sys + +from checkbox_support.scripts.gputest_benchmark import main + + +if __name__ == '__main__': + sys.exit(main()) diff --git a/units/benchmarks/jobs.pxu b/units/benchmarks/jobs.pxu index 504401b..0c23557 100644 --- a/units/benchmarks/jobs.pxu +++ b/units/benchmarks/jobs.pxu @@ -269,7 +269,7 @@ id: benchmarks/graphics/gputest_furmark_fullscreen_1920x1080 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark fur --width 1920 --height 1080 -f +command: gputest_benchmark.py fur --width 1920 --height 1080 -f estimated_duration: 75.000 _description: Run a stress test based on FurMark (OpenGL 2.1 or 3.2) @@ -281,7 +281,7 @@ id: benchmarks/graphics/gputest_furmark_windowed_1024x640 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark fur +command: gputest_benchmark.py fur estimated_duration: 75.000 _description: Run a stress test based on FurMark (OpenGL 2.1 or 3.2) @@ -293,7 +293,7 @@ id: benchmarks/graphics/gputest_gimark_fullscreen_1920x1080 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark gi --width 1920 --height 1080 -f +command: gputest_benchmark.py gi --width 1920 --height 1080 -f estimated_duration: 75.00 _description: Run GiMark, a geometry instancing test (OpenGL 3.3) @@ -305,7 +305,7 @@ id: benchmarks/graphics/gputest_gimark_windowed_1024x640 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark gi +command: gputest_benchmark.py gi estimated_duration: 75.500 _description: Run GiMark, a geometry instancing test (OpenGL 3.3) @@ -317,7 +317,7 @@ id: benchmarks/graphics/gputest_tessmark_fullscreen_1920x1080 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark tess --width 1920 --height 1080 -f +command: gputest_benchmark.py tess --width 1920 --height 1080 -f estimated_duration: 75.000 _description: Run a tessellation test based on TessMark (OpenGL 4.0) @@ -329,7 +329,7 @@ id: benchmarks/graphics/gputest_tessmark_windowed_1024x640 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark tess +command: gputest_benchmark.py tess _description: Run a tessellation test based on TessMark (OpenGL 4.0) Windowed 1024x640 no antialiasing -- cgit v1.2.3