Compare commits
66 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d080c55c9 | ||
|
|
b8a6eeaa8a | ||
|
|
fe80b92168 | ||
|
|
3ebb78b878 | ||
|
|
9763f7e9b3 | ||
|
|
b1ccf10f60 | ||
|
|
cef04e0bbb | ||
|
|
920767442a | ||
|
|
abced13bc1 | ||
|
|
de05be3296 | ||
|
|
a689b6e141 | ||
|
|
c20dad1095 | ||
|
|
8bb13d29af | ||
|
|
b712d19572 | ||
|
|
810ca42094 | ||
|
|
6c807367aa | ||
|
|
c4c723b25b | ||
|
|
27326d5a79 | ||
|
|
8ebd37ce96 | ||
|
|
c4ac9b6040 | ||
|
|
e5ef1642b8 | ||
|
|
17f47868a6 | ||
|
|
8608d4c265 | ||
|
|
0bd9a6f2fc | ||
|
|
539b2a0b54 | ||
|
|
d3fc828876 | ||
|
|
f006fb6d73 | ||
|
|
fdea1e740e | ||
|
|
df7f48fe30 | ||
|
|
5670631348 | ||
|
|
0ac5aed189 | ||
|
|
572eb5d38e | ||
|
|
fa65ce0825 | ||
|
|
bb7fac3ad9 | ||
|
|
9ff6b7d634 | ||
|
|
52a9193452 | ||
|
|
513f543bc8 | ||
|
|
d411b01a63 | ||
|
|
d71680cb22 | ||
|
|
2ae9865540 | ||
|
|
524a69934b | ||
|
|
2166a57102 | ||
|
|
1da851ad21 | ||
|
|
964e2bbf47 | ||
|
|
172dfc4a75 | ||
|
|
4775ebb65e | ||
|
|
11c38958ab | ||
|
|
6d2482465a | ||
|
|
b0f762ea1d | ||
|
|
6fd5d7a945 | ||
|
|
84b67d725a | ||
|
|
79e17e6fcd | ||
|
|
a328f7d2cc | ||
|
|
c989338751 | ||
|
|
20b1580abf | ||
|
|
c21a369537 | ||
|
|
b8264fa56f | ||
|
|
793923d3ed | ||
|
|
d0bda08cec | ||
|
|
fedc3160ac | ||
|
|
438a63bb53 | ||
|
|
4b1554b718 | ||
|
|
c5b8d67baa | ||
|
|
b03b6f8b37 | ||
|
|
5d3f6a1aa0 | ||
|
|
e63e50bad1 |
2
AUTHORS
2
AUTHORS
@@ -1,4 +1,4 @@
|
||||
Copyright 2008 - 2019 by Phoronix Media.
|
||||
Copyright 2008 - 2020 by Phoronix Media.
|
||||
|
||||
Lead Architects:
|
||||
|
||||
|
||||
28
ChangeLog
28
ChangeLog
@@ -1,5 +1,33 @@
|
||||
PHORONIX TEST SUITE CHANGE-LOG
|
||||
|
||||
Phoronix Test Suite 9.4.0 Milestone 2
|
||||
5 February 2020
|
||||
|
||||
pts-core: Add config options allowing to modify or delete result files from the result viewer
|
||||
pts-core: Allow deleting results from the result viewer
|
||||
pts-core: Allow editing result file information from result viewer
|
||||
pts-core: Allow deleting results (graphs) from result file in result viewer
|
||||
pts-core: Add ability to annotate (comment) on result graphs within the result viewer
|
||||
pts-core: Support converting graphs to PNG/PDF with Inkscape or svg-convert when PHP GD is not installed/enabled
|
||||
pts-core: Add Persistent Memory disk targets for disk test
|
||||
|
||||
Phoronix Test Suite 9.4.0 Milestone 1
|
||||
13 January 2020
|
||||
|
||||
pts-core: Allow test profile test options to expose more helper information strings
|
||||
pts-core: External dependency updates
|
||||
pts-core: When a test fails to install due to linker error, try to run that missing library through the external dependency handler to hint at the name
|
||||
pts-core: When a test fails to install due missing header file, try to run that missing library through the external dependency handler to hint at the name
|
||||
pts_Graph: Pass/fail graph formatting improvements
|
||||
phodevi: Convert large RAM capacity basic strings into GB rather than large MB
|
||||
phodevi: Add support for Linux 5.6+ drivetemp kernel module for ATA drive temperatures
|
||||
|
||||
Phoronix Test Suite 9.2.1
|
||||
11 December 2019
|
||||
|
||||
pts-core: Fix for Debian packaging generator
|
||||
pts-core: FIx for install script that could lead to Phoromatic Server instance not fully launching
|
||||
|
||||
Phoronix Test Suite 9.2.0-Hurdal
|
||||
3 December 2019
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Phoronix Test Suite 9.2.0
|
||||
# Phoronix Test Suite 9.4.0m2
|
||||
https://www.phoronix-test-suite.com/
|
||||
|
||||
The **Phoronix Test Suite** is the most comprehensive testing and benchmarking
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
# source function library
|
||||
|
||||
. /etc/rc.d/init.d/functions
|
||||
. /etc/init.d/functions.sh
|
||||
|
||||
RETVAL=0
|
||||
prog="phoromatic-client"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.TH phoronix-test-suite 1 "www.phoronix-test-suite.com" "9.2.0"
|
||||
.TH phoronix-test-suite 1 "www.phoronix-test-suite.com" "9.4.0m2"
|
||||
.SH NAME
|
||||
phoronix-test-suite \- The Phoronix Test Suite is an extensible open-source platform for performing testing and performance evaluation.
|
||||
.SH SYNOPSIS
|
||||
@@ -368,5 +368,5 @@ https://www.phoronix.com/
|
||||
.br
|
||||
https://www.phoronix.com/forums/
|
||||
.SH AUTHORS
|
||||
Copyright 2008 - 2019 by Phoronix Media, Michael Larabel.
|
||||
Copyright 2008 - 2020 by Phoronix Media, Michael Larabel.
|
||||
.TP
|
||||
|
||||
@@ -750,7 +750,7 @@ Installation Instructions
|
||||
External Dependencies
|
||||
</h1>
|
||||
<p>The Phoronix Test Suite has a feature known as "External Dependencies" where the Phoronix Test Suite can attempt to automatically install some of the test-specific dependencies on supported distributions. If running on a distribution where there is currently no External Dependencies profile, the needed package name(s) are listed for manual installation.</p>
|
||||
<p>Below are a list of the operating systems that currently have external dependencies support within the Phoronix Test Suite for the automatic installation of needed test files.</p><hr><ul></ul><li>Alpine Linux</li><li>Amazon</li><li>Angstrom</li><li>Arch Linux</li><li>CentOS</li><li>Clear Linux</li><li>ClearOS</li><li>ClearOS Core Server</li><li>Debian</li><li>DragonFlyBSD</li><li>Fedora</li><li>Fluxbuntu</li><li>GNU KFreeBSD</li><li>Gentoo</li><li>Goobuntu</li><li>HP</li><li>Joli Cloud</li><li>Linaro</li><li>Linux Embedded Development Environment</li><li>Linux Mint</li><li>MEPIS</li><li>Mac OS X</li><li>MacPorts</li><li>Mageia</li><li>Mandriva</li><li>MeeGo</li><li>Microsoft Windows</li><li>MidnightBSD</li><li>Moblin</li><li>Mythbuntu</li><li>NetBSD</li><li>Nexenta Core</li><li>OLPC</li><li>OpenIndiana</li><li>OpenMandriva</li><li>OpenMandrivaLinux</li><li>OpenSolaris</li><li>OpenSuSE</li><li>Optware</li><li>Oracle Server</li><li>PCLinuxOS</li><li>PTS Desktop Live</li><li>PTS Linux Live</li><li>Palm</li><li>Pardus Linux</li><li>Red Hat Enterprise</li><li>Red Hat Enterprise Server</li><li>SUSE</li><li>SUSE Linux</li><li>Scientific</li><li>ScientificSL</li><li>Solus</li><li>Solus Linux</li><li>Termux</li><li>Ubuntu</li><li>Void Linux</li><li>Zenwalk</li><li>gNewSense</li><li>macOS Brew</li>
|
||||
<p>Below are a list of the operating systems that currently have external dependencies support within the Phoronix Test Suite for the automatic installation of needed test files.</p><hr><ul></ul><li>Alpine Linux</li><li>Amazon</li><li>Angstrom</li><li>Arch Linux</li><li>Clear Linux</li><li>ClearOS</li><li>ClearOS Core Server</li><li>Debian</li><li>DragonFlyBSD</li><li>Fedora</li><li>Fluxbuntu</li><li>GNU KFreeBSD</li><li>Gentoo</li><li>Goobuntu</li><li>HP</li><li>Joli Cloud</li><li>Linaro</li><li>Linux Embedded Development Environment</li><li>Linux Mint</li><li>MEPIS</li><li>Mac OS X</li><li>MacPorts</li><li>Mageia</li><li>Mandriva</li><li>MeeGo</li><li>Microsoft Windows</li><li>MidnightBSD</li><li>Moblin</li><li>Mythbuntu</li><li>NetBSD</li><li>Nexenta Core</li><li>OLPC</li><li>OpenIndiana</li><li>OpenMandriva</li><li>OpenMandrivaLinux</li><li>OpenSolaris</li><li>OpenSuSE</li><li>Optware</li><li>Oracle Server</li><li>PCLinuxOS</li><li>PTS Desktop Live</li><li>PTS Linux Live</li><li>Palm</li><li>Pardus Linux</li><li>Red Hat Enterprise</li><li>Red Hat Enterprise Server</li><li>SUSE</li><li>SUSE Linux</li><li>Scientific</li><li>ScientificSL</li><li>Solus</li><li>Solus Linux</li><li>Termux</li><li>Ubuntu</li><li>Void Linux</li><li>Zenwalk</li><li>gNewSense</li><li>macOS Brew</li>
|
||||
<hr style="height: 50px; border: 0;"><a name="Configuration%0A"></a><h1>
|
||||
Configuration
|
||||
</h1>
|
||||
@@ -970,9 +970,21 @@ Virtual Test Suites
|
||||
<h3>Python Tests<em> pts/python</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing python.</p>
|
||||
<h3>Go Tests<em> pts/go</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing go.</p>
|
||||
<h3>Vdpau Tests<em> pts/vdpau</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing vdpau.</p>
|
||||
<h3>Video Tests<em> pts/video</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing video.</p>
|
||||
<h3>Responsiveness Tests<em> pts/responsiveness</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing responsiveness.</p>
|
||||
<h3>Openmpi Tests<em> pts/openmpi</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmpi.</p>
|
||||
<h3>All SYSTEM Tests<em> system/all</em>
|
||||
</h3>
|
||||
<p>This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.</p>
|
||||
@@ -1114,6 +1126,99 @@ Virtual Test Suites
|
||||
<h3>Smp Tests<em> git/smp</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing smp.</p>
|
||||
<h3>All PTS Tests<em> pts/all</em>
|
||||
</h3>
|
||||
<p>This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.</p>
|
||||
<h3>Installed Tests<em> pts/installed</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository that are already installed on the system under test.</p>
|
||||
<h3>Every PTS Test<em> pts/everything</em>
|
||||
</h3>
|
||||
<p>This is a collection of every test profile found within the specified OpenBenchmarking.org repository, including unsupported tests.</p>
|
||||
<h3>Linux Operating System Tests<em> pts/linux</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Linux Operating System.</p>
|
||||
<h3>Solaris Operating System Tests<em> pts/solaris</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Solaris Operating System.</p>
|
||||
<h3>BSD Operating System Tests<em> pts/bsd</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the BSD Operating System.</p>
|
||||
<h3>MacOSX Operating System Tests<em> pts/macosx</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the MacOSX Operating System.</p>
|
||||
<h3>Windows Operating System Tests<em> pts/windows</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Windows Operating System.</p>
|
||||
<h3>Hurd Operating System Tests<em> pts/hurd</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Hurd Operating System.</p>
|
||||
<h3>System Subsystem Tests<em> pts/system</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the System sub-system.</p>
|
||||
<h3>Processor Subsystem Tests<em> pts/processor</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Processor sub-system.</p>
|
||||
<h3>Graphics Subsystem Tests<em> pts/graphics</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Graphics sub-system.</p>
|
||||
<h3>Other Subsystem Tests<em> pts/other</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Other sub-system.</p>
|
||||
<h3>Utility Tests<em> pts/utility</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Utility software test.</p>
|
||||
<h3>Simulator Tests<em> pts/simulator</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Simulator software test.</p>
|
||||
<h3>Scientific Tests<em> pts/scientific</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Scientific software test.</p>
|
||||
<h3>Benchmark Tests<em> pts/benchmark</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Benchmark software test.</p>
|
||||
<h3>Application Tests<em> pts/application</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Application software test.</p>
|
||||
<h3>Game Tests<em> pts/game</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Game software test.</p>
|
||||
<h3>Smp Tests<em> pts/smp</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing smp.</p>
|
||||
<h3>Cuda Tests<em> pts/cuda</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing cuda.</p>
|
||||
<h3>Mpi Tests<em> pts/mpi</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing mpi.</p>
|
||||
<h3>Openmp Tests<em> pts/openmp</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmp.</p>
|
||||
<h3>Cloud Tests<em> pts/cloud</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing cloud.</p>
|
||||
<h3>Docker Tests<em> pts/docker</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing docker.</p>
|
||||
<h3>Python Tests<em> pts/python</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing python.</p>
|
||||
<h3>Go Tests<em> pts/go</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing go.</p>
|
||||
<h3>Vdpau Tests<em> pts/vdpau</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing vdpau.</p>
|
||||
<h3>Video Tests<em> pts/video</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing video.</p>
|
||||
<h3>Responsiveness Tests<em> pts/responsiveness</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing responsiveness.</p>
|
||||
<h3>Openmpi Tests<em> pts/openmpi</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmpi.</p>
|
||||
<h3>All WINDOWS Tests<em> windows/all</em>
|
||||
</h3>
|
||||
<p>This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.</p>
|
||||
@@ -1283,7 +1388,7 @@ chmod +x sample-program</blockquote>
|
||||
Development Credits
|
||||
</h1>
|
||||
<p>The Phoronix Test Suite is based upon the extensive testing and internal tools developed by <a href="http://www.phoronix.com/">Phoronix.com</a> since 2004 along with support from leading tier-one computer hardware and software vendors. The principal architects of the Phoronix Test Suite are <a href="http://www.michaellarabel.com/">Michael Larabel</a> and Matthew Tippett. The phoronix-test-suite, pts_Graph, Phoromatic, Phodevi, tandem_Xml, and nye_Xml are some of the related open-source projects provided by <a href="http://www.phoronix-media.com/">Phoronix Media</a>.</p>
|
||||
<p style="padding-top: 30px; text-align: center;">Copyright © 2008 - 2019 by Phoronix Media.</p></div>
|
||||
<p style="padding-top: 30px; text-align: center;">Copyright © 2008 - 2020 by Phoronix Media.</p></div>
|
||||
<div id="pts_footer">
|
||||
<div id="pts_footer_logo"><a href="http://www.phoronix-test-suite.com/"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewbox="0 0 76 41" width="76" height="41" preserveaspectratio="xMinYMin meet">
|
||||
<path d="m74 22v9m-5-16v16m-5-28v28m-23-2h12.5c2.485281 0 4.5-2.014719 4.5-4.5s-2.014719-4.5-4.5-4.5h-8c-2.485281 0-4.5-2.014719-4.5-4.5s2.014719-4.5 4.5-4.5h12.5m-21 5h-11m11 13h-2c-4.970563 0-9-4.029437-9-9v-20m-24 40v-20c0-4.970563 4.0294373-9 9-9 4.970563 0 9 4.029437 9 9s-4.029437 9-9 9h-9" stroke="#c8d905" stroke-width="4" fill="none"></path>
|
||||
|
||||
@@ -668,7 +668,7 @@ Below are a list of the operating systems that currently have external dependenc
|
||||
---
|
||||
|
||||
|
||||
Alpine LinuxAmazonAngstromArch LinuxCentOSClear LinuxClearOSClearOS Core ServerDebianDragonFlyBSDFedoraFluxbuntuGNU KFreeBSDGentooGoobuntuHPJoli CloudLinaroLinux Embedded Development EnvironmentLinux MintMEPISMac OS XMacPortsMageiaMandrivaMeeGoMicrosoft WindowsMidnightBSDMoblinMythbuntuNetBSDNexenta CoreOLPCOpenIndianaOpenMandrivaOpenMandrivaLinuxOpenSolarisOpenSuSEOptwareOracle ServerPCLinuxOSPTS Desktop LivePTS Linux LivePalmPardus LinuxRed Hat EnterpriseRed Hat Enterprise ServerSUSESUSE LinuxScientificScientificSLSolusSolus LinuxTermuxUbuntuVoid LinuxZenwalkgNewSensemacOS Brew
|
||||
Alpine LinuxAmazonAngstromArch LinuxClear LinuxClearOSClearOS Core ServerDebianDragonFlyBSDFedoraFluxbuntuGNU KFreeBSDGentooGoobuntuHPJoli CloudLinaroLinux Embedded Development EnvironmentLinux MintMEPISMac OS XMacPortsMageiaMandrivaMeeGoMicrosoft WindowsMidnightBSDMoblinMythbuntuNetBSDNexenta CoreOLPCOpenIndianaOpenMandrivaOpenMandrivaLinuxOpenSolarisOpenSuSEOptwareOracle ServerPCLinuxOSPTS Desktop LivePTS Linux LivePalmPardus LinuxRed Hat EnterpriseRed Hat Enterprise ServerSUSESUSE LinuxScientificScientificSLSolusSolus LinuxTermuxUbuntuVoid LinuxZenwalkgNewSensemacOS Brew
|
||||
# Configuration
|
||||
|
||||
## User Files & Folders
|
||||
@@ -1010,9 +1010,21 @@ This is a collection of test profiles found within the specified OpenBenchmarkin
|
||||
#### Python Tests pts/python
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing python.
|
||||
|
||||
#### Go Tests pts/go
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing go.
|
||||
|
||||
#### Vdpau Tests pts/vdpau
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing vdpau.
|
||||
|
||||
#### Video Tests pts/video
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing video.
|
||||
|
||||
#### Responsiveness Tests pts/responsiveness
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing responsiveness.
|
||||
|
||||
#### Openmpi Tests pts/openmpi
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmpi.
|
||||
|
||||
#### All SYSTEM Tests system/all
|
||||
This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.
|
||||
|
||||
@@ -1154,6 +1166,99 @@ This is a collection of test profiles found within the specified OpenBenchmarkin
|
||||
#### Smp Tests git/smp
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing smp.
|
||||
|
||||
#### All PTS Tests pts/all
|
||||
This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.
|
||||
|
||||
#### Installed Tests pts/installed
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository that are already installed on the system under test.
|
||||
|
||||
#### Every PTS Test pts/everything
|
||||
This is a collection of every test profile found within the specified OpenBenchmarking.org repository, including unsupported tests.
|
||||
|
||||
#### Linux Operating System Tests pts/linux
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Linux Operating System.
|
||||
|
||||
#### Solaris Operating System Tests pts/solaris
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Solaris Operating System.
|
||||
|
||||
#### BSD Operating System Tests pts/bsd
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the BSD Operating System.
|
||||
|
||||
#### MacOSX Operating System Tests pts/macosx
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the MacOSX Operating System.
|
||||
|
||||
#### Windows Operating System Tests pts/windows
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Windows Operating System.
|
||||
|
||||
#### Hurd Operating System Tests pts/hurd
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Hurd Operating System.
|
||||
|
||||
#### System Subsystem Tests pts/system
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the System sub-system.
|
||||
|
||||
#### Processor Subsystem Tests pts/processor
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Processor sub-system.
|
||||
|
||||
#### Graphics Subsystem Tests pts/graphics
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Graphics sub-system.
|
||||
|
||||
#### Other Subsystem Tests pts/other
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Other sub-system.
|
||||
|
||||
#### Utility Tests pts/utility
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Utility software test.
|
||||
|
||||
#### Simulator Tests pts/simulator
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Simulator software test.
|
||||
|
||||
#### Scientific Tests pts/scientific
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Scientific software test.
|
||||
|
||||
#### Benchmark Tests pts/benchmark
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Benchmark software test.
|
||||
|
||||
#### Application Tests pts/application
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Application software test.
|
||||
|
||||
#### Game Tests pts/game
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Game software test.
|
||||
|
||||
#### Smp Tests pts/smp
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing smp.
|
||||
|
||||
#### Cuda Tests pts/cuda
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing cuda.
|
||||
|
||||
#### Mpi Tests pts/mpi
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing mpi.
|
||||
|
||||
#### Openmp Tests pts/openmp
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmp.
|
||||
|
||||
#### Cloud Tests pts/cloud
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing cloud.
|
||||
|
||||
#### Docker Tests pts/docker
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing docker.
|
||||
|
||||
#### Python Tests pts/python
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing python.
|
||||
|
||||
#### Go Tests pts/go
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing go.
|
||||
|
||||
#### Vdpau Tests pts/vdpau
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing vdpau.
|
||||
|
||||
#### Video Tests pts/video
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing video.
|
||||
|
||||
#### Responsiveness Tests pts/responsiveness
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing responsiveness.
|
||||
|
||||
#### Openmpi Tests pts/openmpi
|
||||
This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmpi.
|
||||
|
||||
#### All WINDOWS Tests windows/all
|
||||
This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<p>The Phoronix Test Suite has a feature known as "External Dependencies" where the Phoronix Test Suite can attempt to automatically install some of the test-specific dependencies on supported distributions. If running on a distribution where there is currently no External Dependencies profile, the needed package name(s) are listed for manual installation.</p>
|
||||
<p>Below are a list of the operating systems that currently have external dependencies support within the Phoronix Test Suite for the automatic installation of needed test files.<hr><ul></ul><li>Alpine Linux</li><li>Amazon</li><li>Angstrom</li><li>Arch Linux</li><li>CentOS</li><li>Clear Linux</li><li>ClearOS</li><li>ClearOS Core Server</li><li>Debian</li><li>DragonFlyBSD</li><li>Fedora</li><li>Fluxbuntu</li><li>GNU KFreeBSD</li><li>Gentoo</li><li>Goobuntu</li><li>HP</li><li>Joli Cloud</li><li>Linaro</li><li>Linux Embedded Development Environment</li><li>Linux Mint</li><li>MEPIS</li><li>Mac OS X</li><li>MacPorts</li><li>Mageia</li><li>Mandriva</li><li>MeeGo</li><li>Microsoft Windows</li><li>MidnightBSD</li><li>Moblin</li><li>Mythbuntu</li><li>NetBSD</li><li>Nexenta Core</li><li>OLPC</li><li>OpenIndiana</li><li>OpenMandriva</li><li>OpenMandrivaLinux</li><li>OpenSolaris</li><li>OpenSuSE</li><li>Optware</li><li>Oracle Server</li><li>PCLinuxOS</li><li>PTS Desktop Live</li><li>PTS Linux Live</li><li>Palm</li><li>Pardus Linux</li><li>Red Hat Enterprise</li><li>Red Hat Enterprise Server</li><li>SUSE</li><li>SUSE Linux</li><li>Scientific</li><li>ScientificSL</li><li>Solus</li><li>Solus Linux</li><li>Termux</li><li>Ubuntu</li><li>Void Linux</li><li>Zenwalk</li><li>gNewSense</li><li>macOS Brew</li></p>
|
||||
<p>Below are a list of the operating systems that currently have external dependencies support within the Phoronix Test Suite for the automatic installation of needed test files.<hr><ul></ul><li>Alpine Linux</li><li>Amazon</li><li>Angstrom</li><li>Arch Linux</li><li>Clear Linux</li><li>ClearOS</li><li>ClearOS Core Server</li><li>Debian</li><li>DragonFlyBSD</li><li>Fedora</li><li>Fluxbuntu</li><li>GNU KFreeBSD</li><li>Gentoo</li><li>Goobuntu</li><li>HP</li><li>Joli Cloud</li><li>Linaro</li><li>Linux Embedded Development Environment</li><li>Linux Mint</li><li>MEPIS</li><li>Mac OS X</li><li>MacPorts</li><li>Mageia</li><li>Mandriva</li><li>MeeGo</li><li>Microsoft Windows</li><li>MidnightBSD</li><li>Moblin</li><li>Mythbuntu</li><li>NetBSD</li><li>Nexenta Core</li><li>OLPC</li><li>OpenIndiana</li><li>OpenMandriva</li><li>OpenMandrivaLinux</li><li>OpenSolaris</li><li>OpenSuSE</li><li>Optware</li><li>Oracle Server</li><li>PCLinuxOS</li><li>PTS Desktop Live</li><li>PTS Linux Live</li><li>Palm</li><li>Pardus Linux</li><li>Red Hat Enterprise</li><li>Red Hat Enterprise Server</li><li>SUSE</li><li>SUSE Linux</li><li>Scientific</li><li>ScientificSL</li><li>Solus</li><li>Solus Linux</li><li>Termux</li><li>Ubuntu</li><li>Void Linux</li><li>Zenwalk</li><li>gNewSense</li><li>macOS Brew</li></p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -84,9 +84,21 @@
|
||||
<h3>Python Tests<em> pts/python</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing python.</p>
|
||||
<h3>Go Tests<em> pts/go</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing go.</p>
|
||||
<h3>Vdpau Tests<em> pts/vdpau</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing vdpau.</p>
|
||||
<h3>Video Tests<em> pts/video</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing video.</p>
|
||||
<h3>Responsiveness Tests<em> pts/responsiveness</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing responsiveness.</p>
|
||||
<h3>Openmpi Tests<em> pts/openmpi</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmpi.</p>
|
||||
<h3>All SYSTEM Tests<em> system/all</em>
|
||||
</h3>
|
||||
<p>This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.</p>
|
||||
@@ -228,6 +240,99 @@
|
||||
<h3>Smp Tests<em> git/smp</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing smp.</p>
|
||||
<h3>All PTS Tests<em> pts/all</em>
|
||||
</h3>
|
||||
<p>This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.</p>
|
||||
<h3>Installed Tests<em> pts/installed</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository that are already installed on the system under test.</p>
|
||||
<h3>Every PTS Test<em> pts/everything</em>
|
||||
</h3>
|
||||
<p>This is a collection of every test profile found within the specified OpenBenchmarking.org repository, including unsupported tests.</p>
|
||||
<h3>Linux Operating System Tests<em> pts/linux</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Linux Operating System.</p>
|
||||
<h3>Solaris Operating System Tests<em> pts/solaris</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Solaris Operating System.</p>
|
||||
<h3>BSD Operating System Tests<em> pts/bsd</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the BSD Operating System.</p>
|
||||
<h3>MacOSX Operating System Tests<em> pts/macosx</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the MacOSX Operating System.</p>
|
||||
<h3>Windows Operating System Tests<em> pts/windows</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Windows Operating System.</p>
|
||||
<h3>Hurd Operating System Tests<em> pts/hurd</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being compatible with the Hurd Operating System.</p>
|
||||
<h3>System Subsystem Tests<em> pts/system</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the System sub-system.</p>
|
||||
<h3>Processor Subsystem Tests<em> pts/processor</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Processor sub-system.</p>
|
||||
<h3>Graphics Subsystem Tests<em> pts/graphics</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Graphics sub-system.</p>
|
||||
<h3>Other Subsystem Tests<em> pts/other</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a test of the Other sub-system.</p>
|
||||
<h3>Utility Tests<em> pts/utility</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Utility software test.</p>
|
||||
<h3>Simulator Tests<em> pts/simulator</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Simulator software test.</p>
|
||||
<h3>Scientific Tests<em> pts/scientific</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Scientific software test.</p>
|
||||
<h3>Benchmark Tests<em> pts/benchmark</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Benchmark software test.</p>
|
||||
<h3>Application Tests<em> pts/application</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Application software test.</p>
|
||||
<h3>Game Tests<em> pts/game</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified as being a Game software test.</p>
|
||||
<h3>Smp Tests<em> pts/smp</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing smp.</p>
|
||||
<h3>Cuda Tests<em> pts/cuda</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing cuda.</p>
|
||||
<h3>Mpi Tests<em> pts/mpi</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing mpi.</p>
|
||||
<h3>Openmp Tests<em> pts/openmp</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmp.</p>
|
||||
<h3>Cloud Tests<em> pts/cloud</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing cloud.</p>
|
||||
<h3>Docker Tests<em> pts/docker</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing docker.</p>
|
||||
<h3>Python Tests<em> pts/python</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing python.</p>
|
||||
<h3>Go Tests<em> pts/go</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing go.</p>
|
||||
<h3>Vdpau Tests<em> pts/vdpau</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing vdpau.</p>
|
||||
<h3>Video Tests<em> pts/video</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing video.</p>
|
||||
<h3>Responsiveness Tests<em> pts/responsiveness</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing responsiveness.</p>
|
||||
<h3>Openmpi Tests<em> pts/openmpi</em>
|
||||
</h3>
|
||||
<p>This is a collection of test profiles found within the specified OpenBenchmarking.org repository where the test profile is specified via an internal tag as testing openmpi.</p>
|
||||
<h3>All WINDOWS Tests<em> windows/all</em>
|
||||
</h3>
|
||||
<p>This is a collection of all test profiles found within the specified OpenBenchmarking.org repository.</p>
|
||||
|
||||
@@ -94,7 +94,7 @@ rm -f $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/static/images/o
|
||||
rm -f $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/static/images/%phoronix-test-suite.png
|
||||
|
||||
|
||||
sed 's:export PTS_DIR=$(readlink -f `dirname $0`):PTS_DIR='"$INSTALL_PREFIX"'\/share\/phoronix-test-suite:g' phoronix-test-suite > $DESTDIR$INSTALL_PREFIX/bin/phoronix-test-suite
|
||||
sed 's:export PTS_DIR=$(readlink -f `dirname $0`):export PTS_DIR='"$INSTALL_PREFIX"'\/share\/phoronix-test-suite:g' phoronix-test-suite > $DESTDIR$INSTALL_PREFIX/bin/phoronix-test-suite
|
||||
chmod +x $DESTDIR$INSTALL_PREFIX/bin/phoronix-test-suite
|
||||
|
||||
# sed 's:\$url = PTS_PATH . \"documentation\/index.html\";:\$url = \"'"$INSTALL_PREFIX"'\/share\/doc\/packages\/phoronix-test-suite\/index.html\";:g' pts-core/commands/gui_gtk.php > $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/commands/gui_gtk.php
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"main":{"generated":1575329066},"tests":{"aom-av1":{"title":"AOM AV1","description":"This is a simple test of the AOMedia AV1 encoder run on the CPU with a sample video file.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux","MacOSX","BSD"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"672","last_updated":"1552063091","first_added":"1552063091","popularity":"985","downloads":"1505","versions":["1.1.0"]},"svt-av1":{"title":"SVT-AV1","description":"This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-AV1 CPU-based multi-threaded video encoder for the AV1 video format with a sample 1080p YUV video file. This test profile fork builds the encoder from Git source rather than a snapshot.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"118","last_updated":"1552059151","first_added":"1552059151","popularity":"980","downloads":"1501","versions":["1.2.0"]},"svt-hevc":{"title":"SVT-HEVC","description":"This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-HEVC CPU-based multi-threaded video encoder for the HEVC \/ H.265 video format with a sample 1080p YUV video file. This test uses SVT-HEVC from Git master.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"56","last_updated":"1552060068","first_added":"1552060068","popularity":"983","downloads":"1494","versions":["1.0.0"]},"svt-vp9":{"title":"SVT-VP9","description":"This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-VP9 CPU-based multi-threaded video encoder for the VP9 video format with a sample 1080p YUV video file. This test profile uses the Git snapshot of SVT-VP9.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"50","last_updated":"1552059681","first_added":"1552059681","popularity":"984","downloads":"1491","versions":["1.0.0"]},"vpxenc":{"title":"VP9 libvpx Encoding","description":"This is a standard video encoding performance test of Google's libvpx library and the vpxenc command for the VP9\/WebM format using a sample 1080p video.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"767","last_updated":"1552061773","first_added":"1552061773","popularity":"990","downloads":"1475","versions":["2.3.0"]},"x265":{"title":"x265","description":"This is a simple test of the x265 encoder run on the CPU with a sample 1080p video file.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux","MacOSX","BSD"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"126","last_updated":"1552061034","first_added":"1552061034","popularity":"974","downloads":"1541","versions":["1.1.0"]}},"suites":[]}
|
||||
{"main":{"generated":1576104549},"tests":{"aom-av1":{"title":"AOM AV1","description":"This is a simple test of the AOMedia AV1 encoder run on the CPU with a sample video file.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux","MacOSX","BSD"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"684","last_updated":"1552063091","first_added":"1552063091","popularity":"988","downloads":"1516","versions":["1.1.0"]},"svt-av1":{"title":"SVT-AV1","description":"This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-AV1 CPU-based multi-threaded video encoder for the AV1 video format with a sample 1080p YUV video file. This test profile fork builds the encoder from Git source rather than a snapshot.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"120","last_updated":"1552059151","first_added":"1552059151","popularity":"981","downloads":"1513","versions":["1.2.0"]},"svt-hevc":{"title":"SVT-HEVC","description":"This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-HEVC CPU-based multi-threaded video encoder for the HEVC \/ H.265 video format with a sample 1080p YUV video file. This test uses SVT-HEVC from Git master.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"56","last_updated":"1552060068","first_added":"1552060068","popularity":"986","downloads":"1505","versions":["1.0.0"]},"svt-vp9":{"title":"SVT-VP9","description":"This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-VP9 CPU-based multi-threaded video encoder for the VP9 video format with a sample 1080p YUV video file. This test profile uses the Git snapshot of SVT-VP9.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"50","last_updated":"1552059681","first_added":"1552059681","popularity":"985","downloads":"1503","versions":["1.0.0"]},"vpxenc":{"title":"VP9 libvpx Encoding","description":"This is a standard video encoding performance test of Google's libvpx library and the vpxenc command for the VP9\/WebM format using a sample 1080p video.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"773","last_updated":"1552061773","first_added":"1552061773","popularity":"993","downloads":"1486","versions":["2.3.0"]},"x265":{"title":"x265","description":"This is a simple test of the x265 encoder run on the CPU with a sample 1080p video file.","test_type":"Processor","software_type":"Utility","status":"Verified","supported_platforms":["Linux","MacOSX","BSD"],"internal_tags":["SMP"],"test_extends":"","package_hash":null,"average_run_time":"118","last_updated":"1552061034","first_added":"1552061034","popularity":"975","downloads":"1552","versions":["1.1.0"]}},"suites":[]}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
43
ob-cache/test-profiles/pts/blender-1.5.1/downloads.xml
Normal file
43
ob-cache/test-profiles/pts/blender-1.5.1/downloads.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m2-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>https://download.blender.org/release/Blender2.81/blender-2.81-linux-glibc217-x86_64.tar.bz2</URL>
|
||||
<MD5>49fd7a97a2b8453b9ca130843e0fa27e</MD5>
|
||||
<SHA256>e201e7c3dd46aae4a464ec764190199b0ca9ff2e51f9883cd869a4539f33c592</SHA256>
|
||||
<FileName>blender-2.81-linux-glibc217-x86_64.tar.bz2</FileName>
|
||||
<FileSize>173223670</FileSize>
|
||||
<PlatformSpecific>Linux</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://download.blender.org/release/Blender2.81/blender-2.81-windows64.zip</URL>
|
||||
<MD5>52164927761a2965d2b843f2e5e3f6c4</MD5>
|
||||
<SHA256>b350533d23b678d870a3e78a2a0e27e952dc7db49ab801f00025a148dea0d2f5</SHA256>
|
||||
<FileName>blender-2.81-windows64.zip</FileName>
|
||||
<FileSize>153245746</FileSize>
|
||||
<PlatformSpecific>Windows</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://download.blender.org/demo/test/cycles_benchmark_20160228.zip</URL>
|
||||
<MD5>61dabc9cc92dec9549f73f7453d9a875</MD5>
|
||||
<SHA256>026e7499a7bd9e0d41fe4d43e611a145a62d8d5df4fe347a6a08c6f0e98cf0c6</SHA256>
|
||||
<FileName>cycles_benchmark_20160228.zip</FileName>
|
||||
<FileSize>530883683</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://svn.blender.org/svnroot/bf-blender/trunk/lib/benchmarks/cycles/barbershop_interior/barbershop_interior_cpu.blend</URL>
|
||||
<MD5>2b1cb4c2f4f1813ab7a8d95dceabf48d</MD5>
|
||||
<SHA256>95972b56180462cac47ec82f3a755bd9111ec18ca37a6196a319c013db994130</SHA256>
|
||||
<FileName>barbershop_interior_cpu.blend</FileName>
|
||||
<FileSize>287574804</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://svn.blender.org/svnroot/bf-blender/trunk/lib/benchmarks/cycles/barbershop_interior/barbershop_interior_gpu.blend</URL>
|
||||
<MD5>10e5a559064df9f1da9dd43bef3f4523</MD5>
|
||||
<SHA256>4a79ec95e7d96602ab16d475370f6b765a713a546edfa420dd53a4c25e464417</SHA256>
|
||||
<FileName>barbershop_interior_gpu.blend</FileName>
|
||||
<FileSize>287594564</FileSize>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
44
ob-cache/test-profiles/pts/blender-1.5.1/install.sh
Normal file
44
ob-cache/test-profiles/pts/blender-1.5.1/install.sh
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
|
||||
tar -xjf blender-2.81-linux-glibc217-x86_64.tar.bz2
|
||||
unzip -o cycles_benchmark_20160228.zip
|
||||
|
||||
mv benchmark/bmw27/*.blend ~
|
||||
mv benchmark/classroom/*.blend ~
|
||||
mv benchmark/fishy_cat/*.blend ~
|
||||
mv benchmark/pabellon_barcelona/*.blend ~
|
||||
rm -rf benchmark
|
||||
|
||||
echo "#!/bin/bash
|
||||
cd blender-2.81-linux-glibc217-x86_64/
|
||||
BLEND_ARGS=\$@
|
||||
if [[ \$@ =~ .*CUDA.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"CUDA\"
|
||||
elif [[ \$@ =~ .*OPENCL.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"OPENCL\"
|
||||
elif [[ \$@ =~ .*OPTIX.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"OPTIX\"
|
||||
elif [[ \$@ =~ .*NONE.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"NONE\"
|
||||
BLEND_ARGS=\${BLEND_ARGS/_gpu/_cpu}
|
||||
else
|
||||
COMPUTE_TYPE=\"NONE\"
|
||||
BLEND_ARGS=\${BLEND_ARGS/_gpu/_cpu}
|
||||
fi
|
||||
|
||||
echo \"import bpy
|
||||
bpy.context.preferences.addons['cycles'].preferences.get_devices()
|
||||
bpy.context.preferences.addons['cycles'].preferences.compute_device_type = '\$COMPUTE_TYPE'
|
||||
bpy.context.preferences.addons['cycles'].preferences.devices[0].use = True
|
||||
|
||||
bpy.ops.wm.save_userpref()\" > setgpu.py
|
||||
|
||||
./blender -b --python setgpu.py
|
||||
|
||||
./blender \$BLEND_ARGS > \$LOG_FILE 2> /dev/null
|
||||
rm -f output.test" > blender
|
||||
chmod +x blender
|
||||
47
ob-cache/test-profiles/pts/blender-1.5.1/install_windows.sh
Normal file
47
ob-cache/test-profiles/pts/blender-1.5.1/install_windows.sh
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/bin/sh
|
||||
|
||||
unzip -o blender-2.81-windows64.zip
|
||||
unzip -o cycles_benchmark_20160228.zip
|
||||
|
||||
mv benchmark/bmw27/*.blend ~
|
||||
mv benchmark/classroom/*.blend ~
|
||||
mv benchmark/fishy_cat/*.blend ~
|
||||
mv benchmark/pabellon_barcelona/*.blend ~
|
||||
rm -rf benchmark
|
||||
|
||||
echo "#!/bin/bash
|
||||
cd blender-2.81-windows64
|
||||
BLEND_ARGS=\$@
|
||||
if [[ \$@ =~ .*CUDA.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"CUDA\"
|
||||
elif [[ \$@ =~ .*OPENCL.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"OPENCL\"
|
||||
elif [[ \$@ =~ .*OPTIX.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"OPTIX\"
|
||||
elif [[ \$@ =~ .*NONE.* ]]
|
||||
then
|
||||
COMPUTE_TYPE=\"NONE\"
|
||||
BLEND_ARGS=\${BLEND_ARGS/_gpu/_cpu}
|
||||
else
|
||||
COMPUTE_TYPE=\"NONE\"
|
||||
BLEND_ARGS=\${BLEND_ARGS/_gpu/_cpu}
|
||||
fi
|
||||
|
||||
echo \"import bpy
|
||||
|
||||
bpy.context.preferences.addons['cycles'].preferences.get_devices()
|
||||
bpy.context.preferences.addons['cycles'].preferences.compute_device_type = '\$COMPUTE_TYPE'
|
||||
bpy.context.preferences.addons['cycles'].preferences.devices[0].use = True
|
||||
|
||||
bpy.ops.wm.save_userpref()\" > ~/blender-setgpu.py
|
||||
export HOME=\"\$DEBUG_HOME\"
|
||||
export PATH=\$DEBUG_PATH
|
||||
export PWD=\$DEBUG_HOME\blender-2.81-windows64
|
||||
./blender.exe -b --python \$DEBUG_HOME\blender-setgpu.py
|
||||
|
||||
./blender.exe \$BLEND_ARGS > \$LOG_FILE
|
||||
rm -f output.test" > blender
|
||||
chmod +x blender
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m2-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>Time: #_RESULT_# (Saving: 00:00.03)</OutputTemplate>
|
||||
<LineHint>Saving:</LineHint>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
82
ob-cache/test-profiles/pts/blender-1.5.1/test-definition.xml
Normal file
82
ob-cache/test-profiles/pts/blender-1.5.1/test-definition.xml
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m2-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>Blender</Title>
|
||||
<AppVersion>2.81</AppVersion>
|
||||
<Description>Blender is an open-source 3D creation software project. This test is of Blender's Cycles benchmark with various sample files. GPU computing via OpenCL or CUDA is supported.</Description>
|
||||
<ResultScale>Seconds</ResultScale>
|
||||
<Proportion>LIB</Proportion>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.6.0</Version>
|
||||
<SupportedPlatforms>Linux, Windows</SupportedPlatforms>
|
||||
<SoftwareType>Utility</SoftwareType>
|
||||
<TestType>System</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Verified</Status>
|
||||
<SupportedArchitectures>x86_64</SupportedArchitectures>
|
||||
<ExternalDependencies>bzip2-development, glut, xorg-development, opencl</ExternalDependencies>
|
||||
<EnvironmentSize>950</EnvironmentSize>
|
||||
<ProjectURL>https://www.blender.org/</ProjectURL>
|
||||
<InternalTags>OpenCL, CUDA</InternalTags>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
<TestSettings>
|
||||
<Default>
|
||||
<Arguments>-noaudio --enable-autoexec</Arguments>
|
||||
</Default>
|
||||
<Option>
|
||||
<DisplayName>Blend File</DisplayName>
|
||||
<Identifier>blend</Identifier>
|
||||
<ArgumentPrefix>-b </ArgumentPrefix>
|
||||
<ArgumentPostfix> -o output.test -x 1 -F JPEG -f 1</ArgumentPostfix>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>BMW27</Name>
|
||||
<Value>../bmw27_gpu.blend</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Classroom</Name>
|
||||
<Value>../classroom_gpu.blend</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Fishy Cat</Name>
|
||||
<Value>../fishy_cat_gpu.blend</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Pabellon Barcelona</Name>
|
||||
<Value>../pavillon_barcelone_gpu.blend</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Barbershop</Name>
|
||||
<Value>../barbershop_interior_gpu.blend</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
<Option>
|
||||
<DisplayName>Compute</DisplayName>
|
||||
<Identifier>compute</Identifier>
|
||||
<ArgumentPrefix> </ArgumentPrefix>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>CPU-Only</Name>
|
||||
<Value>NONE</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>OpenCL</Name>
|
||||
<Value>OPENCL</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>CUDA</Name>
|
||||
<Value>CUDA</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>NVIDIA OptiX</Name>
|
||||
<Value>OPTIX</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
</TestSettings>
|
||||
</PhoronixTestSuite>
|
||||
66
ob-cache/test-profiles/pts/dav1d-1.4.0/downloads.xml
Normal file
66
ob-cache/test-profiles/pts/dav1d-1.4.0/downloads.xml
Normal file
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.0.1-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>http://ffmpeg.org/releases/ffmpeg-4.2.1.tar.bz2</URL>
|
||||
<MD5>f3cba622990c8ac8a57330f571db1230</MD5>
|
||||
<SHA256>682a9fa3f6864d7f0dbf224f86b129e337bc60286e0d00dffcd710998d521624</SHA256>
|
||||
<FileName>ffmpeg-4.2.1.tar.bz2</FileName>
|
||||
<FileSize>10953293</FileSize>
|
||||
<PlatformSpecific>Linux, BSD</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://downloads.videolan.org/pub/videolan/dav1d/0.5.0/dav1d-0.5.0.tar.xz</URL>
|
||||
<MD5>38b91c74e79cfe77de60516348fdfed5</MD5>
|
||||
<SHA256>b62f06a98420632e1ec9f7e64e782d72451cc9a8dcf7ae695a0d559706990695</SHA256>
|
||||
<FileName>dav1d-0.5.0.tar.xz</FileName>
|
||||
<FileSize>465648</FileSize>
|
||||
<PlatformSpecific>Linux, BSD</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://www.elecard.com/storage/video/Stream2_AV1_HD_6.8mbps.webm</URL>
|
||||
<MD5>5e4c83cf494cbe6dc1668cbbd7ff774c</MD5>
|
||||
<SHA256>2f23d29750a0663a6df656e8137cf934bddfc96b31e5088db2c3624f19ed14d4</SHA256>
|
||||
<FileName>Stream2_AV1_HD_6.8mbps.webm</FileName>
|
||||
<FileSize>122378926</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://www.elecard.com/storage/video/Stream2_AV1_4K_22.7mbps.webm</URL>
|
||||
<MD5>8acc9c60c10a37bf4e568b465b03e35a</MD5>
|
||||
<SHA256>52f3aa1d4b4487af62d37b0f295aabbc4b57f03fdc4c76402c6358193e4aa490</SHA256>
|
||||
<FileName>Stream2_AV1_4K_22.7mbps.webm</FileName>
|
||||
<FileSize>409458359</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://download.opencontent.netflix.com.s3.amazonaws.com/AV1/Chimera/Chimera-AV1-8bit-1920x1080-6736kbps.mp4</URL>
|
||||
<MD5>d444e11f8b049de2a9739899a9c0b4f6</MD5>
|
||||
<SHA256>d566d294e2c18bb274a54aad03352c92312a62c393656d38e1f7dda10c0bf10c</SHA256>
|
||||
<FileName>Chimera-AV1-8bit-1920x1080-6736kbps.mp4</FileName>
|
||||
<FileSize>313490236</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://download.opencontent.netflix.com.s3.amazonaws.com/AV1/Chimera/Chimera-AV1-10bit-1920x1080-6191kbps.mp4</URL>
|
||||
<MD5>4c0f24bac42ddcda3d46087a36492ce4</MD5>
|
||||
<SHA256>df2080fd77e0dbd9138bd4f172bf008d2ade17da7ab4532fba54ceccf40a9439</SHA256>
|
||||
<FileName>Chimera-AV1-10bit-1920x1080-6191kbps.mp4</FileName>
|
||||
<FileSize>288122748</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-4.2.1-win64-static.zip</URL>
|
||||
<MD5>ae19c3a0006e4f1f34c5f3910bfb3635</MD5>
|
||||
<SHA256>d2af87bbb867bc83c070f3c1a980daaed35c37b02ca82cc2886e8743232886ff</SHA256>
|
||||
<FileName>ffmpeg-4.2.1-win64-static.zip</FileName>
|
||||
<FileSize>71475092</FileSize>
|
||||
<PlatformSpecific>Windows</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://phoronix-test-suite.com/benchmark-files/dav1d-build-win64-0-5-0.zip</URL>
|
||||
<MD5>3b08a690713299224ecf1f4bb02d6fa1</MD5>
|
||||
<SHA256>0a78c805b59b2efde3d2928c6c31d6850aa23fcb266eb0ca2d34bfb8b48a0e4f</SHA256>
|
||||
<FileName>dav1d-build-win64-0-5-0.zip</FileName>
|
||||
<FileSize>1636231</FileSize>
|
||||
<PlatformSpecific>Windows</PlatformSpecific>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
33
ob-cache/test-profiles/pts/dav1d-1.4.0/install.sh
Normal file
33
ob-cache/test-profiles/pts/dav1d-1.4.0/install.sh
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
# FFmpeg install to demux AV1 WebM to IVF that can then be consumed by dav1d...
|
||||
tar -xjf ffmpeg-4.2.1.tar.bz2
|
||||
mkdir ffmpeg_/
|
||||
|
||||
cd ffmpeg-4.2.1/
|
||||
./configure --disable-zlib --disable-doc --prefix=$HOME/ffmpeg_/
|
||||
make -j $NUM_CPU_CORES
|
||||
echo $? > ~/install-exit-status
|
||||
make install
|
||||
cd ~/
|
||||
|
||||
./ffmpeg_/bin/ffmpeg -i Stream2_AV1_HD_6.8mbps.webm -vcodec copy -an -f ivf summer_nature_1080p.ivf
|
||||
./ffmpeg_/bin/ffmpeg -i Stream2_AV1_4K_22.7mbps.webm -vcodec copy -an -f ivf summer_nature_4k.ivf
|
||||
./ffmpeg_/bin/ffmpeg -i Chimera-AV1-8bit-1920x1080-6736kbps.mp4 -vcodec copy -an -f ivf chimera_8b_1080p.ivf
|
||||
./ffmpeg_/bin/ffmpeg -i Chimera-AV1-10bit-1920x1080-6191kbps.mp4 -vcodec copy -an -f ivf chimera_10b_1080p.ivf
|
||||
|
||||
rm -rf ffmpeg-4.2.1
|
||||
rm -rf ffmpeg_
|
||||
|
||||
# Build Dav1d
|
||||
tar -xf dav1d-0.5.0.tar.xz
|
||||
cd dav1d-0.5.0
|
||||
meson build --buildtype release
|
||||
ninja -C build
|
||||
echo $? > ~/install-exit-status
|
||||
|
||||
cd ~
|
||||
echo "#!/bin/sh
|
||||
./dav1d-0.5.0/build/tools/dav1d \$@ --muxer null --framethreads \$NUM_CPU_CORES --tilethreads 4 --filmgrain 0 > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > dav1d
|
||||
chmod +x dav1d
|
||||
18
ob-cache/test-profiles/pts/dav1d-1.4.0/install_windows.sh
Normal file
18
ob-cache/test-profiles/pts/dav1d-1.4.0/install_windows.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
unzip -o ffmpeg-4.2.1-win64-static.zip
|
||||
|
||||
./ffmpeg-4.2.1-win64-static/bin/ffmpeg.exe -i Stream2_AV1_HD_6.8mbps.webm -vcodec copy -an -f ivf summer_nature_1080p.ivf
|
||||
./ffmpeg-4.2.1-win64-static/bin/ffmpeg.exe -i Stream2_AV1_4K_22.7mbps.webm -vcodec copy -an -f ivf summer_nature_4k.ivf
|
||||
./ffmpeg-4.2.1-win64-static/bin/ffmpeg.exe -i Chimera-AV1-8bit-1920x1080-6736kbps.mp4 -vcodec copy -an -f ivf chimera_8b_1080p.ivf
|
||||
./ffmpeg-4.2.1-win64-static/bin/ffmpeg.exe -i Chimera-AV1-10bit-1920x1080-6191kbps.mp4 -vcodec copy -an -f ivf chimera_10b_1080p.ivf
|
||||
|
||||
rm -rf ffmpeg-4.2.1-win64-static
|
||||
|
||||
unzip -o dav1d-build-win64-0-5-0.zip
|
||||
|
||||
cd ~
|
||||
echo "#!/bin/sh
|
||||
./build/dav1d_install/bin/dav1d.exe \$@ --muxer null --framethreads \$NUM_CPU_CORES --tilethreads 4 --filmgrain 0 > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > dav1d
|
||||
chmod +x dav1d
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.0.1-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>Decoded 8929 8929 frames (100.0%) - #_RESULT_# 25 fps (9.20x)</OutputTemplate>
|
||||
<LineHint>fps</LineHint>
|
||||
<MultiMatch>AVERAGE</MultiMatch>
|
||||
<TurnCharsToSpace>/</TurnCharsToSpace>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
53
ob-cache/test-profiles/pts/dav1d-1.4.0/test-definition.xml
Normal file
53
ob-cache/test-profiles/pts/dav1d-1.4.0/test-definition.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.0.1-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>dav1d</Title>
|
||||
<AppVersion>0.5.0</AppVersion>
|
||||
<Description>Dav1d is an open-source, speedy AV1 video decoder. This test profile times how long it takes to decode sample AV1 video content.</Description>
|
||||
<ResultScale>FPS</ResultScale>
|
||||
<Proportion>HIB</Proportion>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.4.0</Version>
|
||||
<SupportedPlatforms>Linux, BSD, Windows</SupportedPlatforms>
|
||||
<SoftwareType>Utility</SoftwareType>
|
||||
<TestType>Processor</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Verified</Status>
|
||||
<ExternalDependencies>build-utilities, yasm, meson</ExternalDependencies>
|
||||
<EnvironmentSize>1200</EnvironmentSize>
|
||||
<ProjectURL>http://code.videolan.org/videolan/dav1d</ProjectURL>
|
||||
<InternalTags>SMP</InternalTags>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
<TestSettings>
|
||||
<Default>
|
||||
<Arguments> </Arguments>
|
||||
</Default>
|
||||
<Option>
|
||||
<DisplayName>Video Input</DisplayName>
|
||||
<Identifier>video</Identifier>
|
||||
<ArgumentPrefix>-i </ArgumentPrefix>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>Summer Nature 1080p</Name>
|
||||
<Value>summer_nature_1080p.ivf</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Summer Nature 4K</Name>
|
||||
<Value>summer_nature_4k.ivf</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Chimera 1080p</Name>
|
||||
<Value>chimera_8b_1080p.ivf</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Chimera 1080p 10-bit</Name>
|
||||
<Value>chimera_10b_1080p.ivf</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
</TestSettings>
|
||||
</PhoronixTestSuite>
|
||||
44
ob-cache/test-profiles/pts/deepspeech-1.0.0/downloads.xml
Normal file
44
ob-cache/test-profiles/pts/deepspeech-1.0.0/downloads.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>https://github.com/mozilla/DeepSpeech/releases/download/v0.6.0/deepspeech-0.6.0-models.tar.gz</URL>
|
||||
<MD5>c271d4a939bc332fd784f9d874cb77a1</MD5>
|
||||
<SHA256>ce7b4129bcb46fc3a212db53477febbcd08d72f422894d61671fe5cb37fb295a</SHA256>
|
||||
<FileName>deepspeech-0.6.0-models.tar.gz</FileName>
|
||||
<FileSize>1229022476</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://www.phoronix-test-suite.com/benchmark-files/sample-speech-1.tar.xz</URL>
|
||||
<MD5>ba4b83806b70a3595f6b220accb7852d</MD5>
|
||||
<SHA256>a827b58aa79c23b3842d52af64a08fa3d050752a7643b803d7d18f740f73141e</SHA256>
|
||||
<FileName>sample-speech-1.tar.xz</FileName>
|
||||
<FileSize>9809032</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://github.com/mozilla/DeepSpeech/releases/download/v0.6.0/native_client.amd64.cpu.linux.tar.xz</URL>
|
||||
<MD5>85d546d01845b9573b317fe5928b5e7a</MD5>
|
||||
<SHA256>0cd3721c4e6d9a06be28b3e60266e5e8a70c5a99f6f6b136acd846822a245d1f</SHA256>
|
||||
<FileName>native_client.amd64.cpu.linux.tar.xz</FileName>
|
||||
<FileSize>6714832</FileSize>
|
||||
<PlatformSpecific>Linux</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://github.com/mozilla/DeepSpeech/releases/download/v0.6.0/native_client.amd64.cpu.win.tar.xz</URL>
|
||||
<MD5>e87432e05404f27651581fe22a9e2164</MD5>
|
||||
<SHA256>0e04f5c5ef6a18be2c87cc3c7f59a123565c15ffb7602a07a6b54970f035c1f5</SHA256>
|
||||
<FileName>native_client.amd64.cpu.win.tar.xz</FileName>
|
||||
<FileSize>4692016</FileSize>
|
||||
<PlatformSpecific>Windows</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://github.com/mozilla/DeepSpeech/releases/download/v0.6.0/native_client.amd64.cpu.osx.tar.xz</URL>
|
||||
<MD5>ebc45832f22df032da8732d791550a03</MD5>
|
||||
<SHA256>8f142d39ccdfcc61887c8f686f445fbb9c85fd98b14ca93ea6aadc455a46c568</SHA256>
|
||||
<FileName>native_client.amd64.cpu.osx.tar.xz</FileName>
|
||||
<FileSize>8453712</FileSize>
|
||||
<PlatformSpecific>MacOSX</PlatformSpecific>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
10
ob-cache/test-profiles/pts/deepspeech-1.0.0/install.sh
Normal file
10
ob-cache/test-profiles/pts/deepspeech-1.0.0/install.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
tar -xf deepspeech-0.6.0-models.tar.gz
|
||||
tar -xf sample-speech-1.tar.xz
|
||||
tar -xf native_client.amd64.cpu.linux.tar.xz
|
||||
|
||||
echo "#!/bin/sh
|
||||
./deepspeech --model deepspeech-0.6.0-models/output_graph.pbmm --lm deepspeech-0.6.0-models/lm.binary --trie deepspeech-0.6.0-models/trie --audio sample-speech-1.wav -t > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > deepspeech-run
|
||||
chmod +x deepspeech-run
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
tar -xf deepspeech-0.6.0-models.tar.gz
|
||||
tar -xf sample-speech-1.tar.xz
|
||||
tar -xf native_client.amd64.cpu.osx.tar.xz
|
||||
|
||||
echo "#!/bin/sh
|
||||
./deepspeech --model deepspeech-0.6.0-models/output_graph.pbmm --lm deepspeech-0.6.0-models/lm.binary --trie deepspeech-0.6.0-models/trie --audio sample-speech-1.wav -t > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > deepspeech-run
|
||||
chmod +x deepspeech-run
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
tar -xf deepspeech-0.6.0-models.tar.gz
|
||||
tar -xf sample-speech-1.tar.xz
|
||||
tar -xf native_client.amd64.cpu.win.tar.xz
|
||||
|
||||
echo "#!/bin/sh
|
||||
./deepspeech.exe --model deepspeech-0.6.0-models/output_graph.pbmm --lm deepspeech-0.6.0-models/lm.binary --trie deepspeech-0.6.0-models/trie --audio sample-speech-1.wav -t > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > deepspeech-run
|
||||
chmod +x deepspeech-run
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>cpu_time_overall=#_RESULT_#</OutputTemplate>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>DeepSpeech</Title>
|
||||
<AppVersion>0.6</AppVersion>
|
||||
<Description>Mozilla DeepSpeech is a speech-to-text engine powered by TensorFlow for machine learning and derived from Baidu's Deep Speech research paper. This test profile times the speech-to-text process for a roughly three minute audio recording.</Description>
|
||||
<ResultScale>Seconds</ResultScale>
|
||||
<Proportion>LIB</Proportion>
|
||||
<Executable>deepspeech-run</Executable>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.0.0</Version>
|
||||
<SupportedPlatforms>Linux, Windows, MacOSX</SupportedPlatforms>
|
||||
<SoftwareType>Utility</SoftwareType>
|
||||
<TestType>Processor</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Verified</Status>
|
||||
<SupportedArchitectures>x86_64</SupportedArchitectures>
|
||||
<EnvironmentSize>1420</EnvironmentSize>
|
||||
<ProjectURL>https://github.com/mozilla/DeepSpeech</ProjectURL>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
<TestSettings>
|
||||
<Option>
|
||||
<DisplayName>Acceleration</DisplayName>
|
||||
<Identifier>accel</Identifier>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>CPU</Name>
|
||||
<Value>CPU</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
</TestSettings>
|
||||
</PhoronixTestSuite>
|
||||
27
ob-cache/test-profiles/pts/encode-ogg-1.5.1/downloads.xml
Normal file
27
ob-cache/test-profiles/pts/encode-ogg-1.5.1/downloads.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v8.0.0m2-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL></URL>
|
||||
<MD5>1eda7efc22a97d08af98265107d65f95</MD5>
|
||||
<SHA256>c2e8a485110b97550f453226ec644ebac6cb29d1caef2902c007edab4308d985</SHA256>
|
||||
<FileName>libogg-1.3.3.tar.gz</FileName>
|
||||
<FileSize>579853</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL></URL>
|
||||
<MD5>7220e089f3be3412a2317d6fde9e3944</MD5>
|
||||
<SHA256>6efbcecdd3e5dfbf090341b485da9d176eb250d893e3eb378c428a2db38301ce</SHA256>
|
||||
<FileName>libvorbis-1.3.5.tar.gz</FileName>
|
||||
<FileSize>1638779</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL></URL>
|
||||
<MD5>567e0fb8d321b2cd7124f8208b8b90e6</MD5>
|
||||
<SHA256>a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc</SHA256>
|
||||
<FileName>vorbis-tools-1.4.0.tar.gz</FileName>
|
||||
<FileSize>1346532</FileSize>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
38
ob-cache/test-profiles/pts/encode-ogg-1.5.1/install.sh
Normal file
38
ob-cache/test-profiles/pts/encode-ogg-1.5.1/install.sh
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir $HOME/vorbis
|
||||
|
||||
# Force use of new libs.
|
||||
CPPFLAGS="-I$HOME/vorbis/include"
|
||||
LDFLAGS="-L$HOME/vorbis/lib"
|
||||
|
||||
tar -zxvf libogg-1.3.3.tar.gz
|
||||
tar -zxvf libvorbis-1.3.5.tar.gz
|
||||
tar -zxvf vorbis-tools-1.4.0.tar.gz
|
||||
|
||||
cd libogg-1.3.3/
|
||||
./configure --prefix=$HOME/vorbis
|
||||
make -j $NUM_CPU_JOBS
|
||||
make install
|
||||
cd ..
|
||||
#rm -rf libogg-1.3.3/
|
||||
|
||||
cd libvorbis-1.3.5/
|
||||
./configure --prefix=$HOME/vorbis --with-ogg-includes=$HOME/vorbis/include/ogg --with-ogg-libraries=$HOME/vorbis/lib
|
||||
make -j $NUM_CPU_JOBS
|
||||
make install
|
||||
cd ..
|
||||
#rm -rf libvorbis-1.3.5/
|
||||
|
||||
cd vorbis-tools-1.4.0/
|
||||
./configure --prefix=$HOME/vorbis --with-ogg-includes=$HOME/vorbis/include/ogg --with-ogg-libraries=$HOME/vorbis/lib --with-vorbis-includes=$HOME/vorbis/include/vorbis --with-vorbis-libraries=$HOME/vorbis/lib
|
||||
make -j $NUM_CPU_JOBS
|
||||
echo $? > ~/install-exit-status
|
||||
make install
|
||||
cd ..
|
||||
#rm -rf vorbis-tools-1.4.0/
|
||||
|
||||
echo "#!/bin/sh
|
||||
./vorbis/bin/oggenc \$TEST_EXTENDS/pts-trondheim.wav -q 10 -o /dev/null > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > oggenc
|
||||
chmod +x oggenc
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v8.0.0m2-->
|
||||
<PhoronixTestSuite>
|
||||
<SystemMonitor>
|
||||
<Sensor>sys.time</Sensor>
|
||||
</SystemMonitor>
|
||||
</PhoronixTestSuite>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v8.0.0m2-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>Ogg Encoding</Title>
|
||||
<AppVersion>1.3.3</AppVersion>
|
||||
<Description>This test times how long it takes to encode a sample WAV file to Ogg format using vorbis-tools, libvorbis, and libogg.</Description>
|
||||
<SubTitle>WAV To Ogg</SubTitle>
|
||||
<Executable>oggenc</Executable>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.5.1</Version>
|
||||
<SupportedPlatforms>Linux, Solaris, MacOSX, BSD</SupportedPlatforms>
|
||||
<SoftwareType>Utility</SoftwareType>
|
||||
<Status>Deprecated</Status>
|
||||
<Extends>pts/timed-audio-encode</Extends>
|
||||
<EnvironmentSize>6</EnvironmentSize>
|
||||
<ProjectURL>http://www.vorbis.com/</ProjectURL>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
</PhoronixTestSuite>
|
||||
19
ob-cache/test-profiles/pts/gromacs-1.1.0/downloads.xml
Normal file
19
ob-cache/test-profiles/pts/gromacs-1.1.0/downloads.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>http://ftp.gromacs.org/pub/gromacs/gromacs-2019.4.tar.gz</URL>
|
||||
<MD5>b424b9099f8bb00e1cd716a1295d797e</MD5>
|
||||
<SHA256>ba4366eedfc8a1dbf6bddcef190be8cd75de53691133f305a7f9c296e5ca1867</SHA256>
|
||||
<FileName>gromacs-2019.4.tar.gz</FileName>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>ftp://ftp.gromacs.org/pub/benchmarks/water_GMX50_bare.tar.gz</URL>
|
||||
<MD5>d843376d598299d6a209dae063157dc5</MD5>
|
||||
<SHA256>2219c10acb97787f80f6638132bad3ff2ca1e68600eef1bc8b89d9560e74c66a</SHA256>
|
||||
<FileName>water_GMX50_bare.tar.gz</FileName>
|
||||
<FileSize>138438061</FileSize>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
18
ob-cache/test-profiles/pts/gromacs-1.1.0/install.sh
Normal file
18
ob-cache/test-profiles/pts/gromacs-1.1.0/install.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
tar -xf gromacs-2019.4.tar.gz
|
||||
tar -xf water_GMX50_bare.tar.gz
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../gromacs-2019.4 -DGMX_OPENMP=OFF -DGMX_MPI=ON -DGMX_GPU=OFF -DGMX_BUILD_OWN_FFTW=ON -DGMX_PREFER_STATIC_LIBS=ON -DCMAKE_BUILD_TYPE=Release
|
||||
make -j $NUM_CPU_CORES
|
||||
echo $? > ~/install-exit-status
|
||||
cd ~
|
||||
|
||||
echo "#!/bin/sh
|
||||
unset OMP_NUM_THREADS
|
||||
cd water-cut1.0_GMX50_bare/1536
|
||||
mpirun -np \$NUM_CPU_PHYSICAL_CORES \$HOME/build/bin/gmx_mpi grompp -f pme.mdp -o bench.tpr
|
||||
mpirun -np \$NUM_CPU_PHYSICAL_CORES \$HOME/build/bin/gmx_mpi mdrun -resethway -npme 0 -notunepme -noconfout -nsteps 1000 -v -s bench.tpr > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > gromacs
|
||||
chmod +x gromacs
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>Performance: #_RESULT_# 3.682</OutputTemplate>
|
||||
<LineHint>Performance:</LineHint>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
26
ob-cache/test-profiles/pts/gromacs-1.1.0/test-definition.xml
Normal file
26
ob-cache/test-profiles/pts/gromacs-1.1.0/test-definition.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>GROMACS</Title>
|
||||
<AppVersion>2019.4</AppVersion>
|
||||
<Description>The Gromacs molecular dynamics package testing on the CPU with the water_GMX50 data.</Description>
|
||||
<ResultScale>Ns Per Day</ResultScale>
|
||||
<Proportion>HIB</Proportion>
|
||||
<SubTitle>Water Benchmark</SubTitle>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.1.0</Version>
|
||||
<SupportedPlatforms>Linux, BSD</SupportedPlatforms>
|
||||
<SoftwareType>Benchmark</SoftwareType>
|
||||
<TestType>System</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Verified</Status>
|
||||
<ExternalDependencies>build-utilities</ExternalDependencies>
|
||||
<EnvironmentSize>1100</EnvironmentSize>
|
||||
<ProjectURL>http://www.gromacs.org/</ProjectURL>
|
||||
<InternalTags>SMP, MPI</InternalTags>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
</PhoronixTestSuite>
|
||||
48
ob-cache/test-profiles/pts/libgav1-1.0.0/downloads.xml
Normal file
48
ob-cache/test-profiles/pts/libgav1-1.0.0/downloads.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.0.1-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>http://phoronix-test-suite.com/benchmark-files/libgav1-20191005.tar.xz</URL>
|
||||
<MD5>5355af458dae5107c3ca78a9373b30d3</MD5>
|
||||
<SHA256>ee7e1a7063d801a5a032102670b125a481d8c8cae046bc7787376fb7befa317f</SHA256>
|
||||
<FileName>libgav1-20191005.tar.xz</FileName>
|
||||
<FileSize>1434600</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://ffmpeg.org/releases/ffmpeg-4.2.1.tar.bz2</URL>
|
||||
<MD5>f3cba622990c8ac8a57330f571db1230</MD5>
|
||||
<SHA256>682a9fa3f6864d7f0dbf224f86b129e337bc60286e0d00dffcd710998d521624</SHA256>
|
||||
<FileName>ffmpeg-4.2.1.tar.bz2</FileName>
|
||||
<FileSize>10953293</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://www.elecard.com/storage/video/Stream2_AV1_HD_6.8mbps.webm</URL>
|
||||
<MD5>5e4c83cf494cbe6dc1668cbbd7ff774c</MD5>
|
||||
<SHA256>2f23d29750a0663a6df656e8137cf934bddfc96b31e5088db2c3624f19ed14d4</SHA256>
|
||||
<FileName>Stream2_AV1_HD_6.8mbps.webm</FileName>
|
||||
<FileSize>122378926</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://www.elecard.com/storage/video/Stream2_AV1_4K_22.7mbps.webm</URL>
|
||||
<MD5>8acc9c60c10a37bf4e568b465b03e35a</MD5>
|
||||
<SHA256>52f3aa1d4b4487af62d37b0f295aabbc4b57f03fdc4c76402c6358193e4aa490</SHA256>
|
||||
<FileName>Stream2_AV1_4K_22.7mbps.webm</FileName>
|
||||
<FileSize>409458359</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://download.opencontent.netflix.com.s3.amazonaws.com/AV1/Chimera/Chimera-AV1-8bit-1920x1080-6736kbps.mp4</URL>
|
||||
<MD5>d444e11f8b049de2a9739899a9c0b4f6</MD5>
|
||||
<SHA256>d566d294e2c18bb274a54aad03352c92312a62c393656d38e1f7dda10c0bf10c</SHA256>
|
||||
<FileName>Chimera-AV1-8bit-1920x1080-6736kbps.mp4</FileName>
|
||||
<FileSize>313490236</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>http://download.opencontent.netflix.com.s3.amazonaws.com/AV1/Chimera/Chimera-AV1-10bit-1920x1080-6191kbps.mp4</URL>
|
||||
<MD5>4c0f24bac42ddcda3d46087a36492ce4</MD5>
|
||||
<SHA256>df2080fd77e0dbd9138bd4f172bf008d2ade17da7ab4532fba54ceccf40a9439</SHA256>
|
||||
<FileName>Chimera-AV1-10bit-1920x1080-6191kbps.mp4</FileName>
|
||||
<FileSize>288122748</FileSize>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
36
ob-cache/test-profiles/pts/libgav1-1.0.0/install.sh
Normal file
36
ob-cache/test-profiles/pts/libgav1-1.0.0/install.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
# FFmpeg install to demux AV1 WebM to IVF that can then be consumed by dav1d/libgav1...
|
||||
tar -xjf ffmpeg-4.2.1.tar.bz2
|
||||
mkdir ffmpeg_/
|
||||
|
||||
cd ffmpeg-4.2.1/
|
||||
./configure --disable-zlib --disable-doc --prefix=$HOME/ffmpeg_/
|
||||
make -j $NUM_CPU_CORES
|
||||
echo $? > ~/install-exit-status
|
||||
make install
|
||||
cd ~/
|
||||
|
||||
./ffmpeg_/bin/ffmpeg -i Stream2_AV1_HD_6.8mbps.webm -vcodec copy -an -f ivf summer_nature_1080p.ivf
|
||||
./ffmpeg_/bin/ffmpeg -i Stream2_AV1_4K_22.7mbps.webm -vcodec copy -an -f ivf summer_nature_4k.ivf
|
||||
./ffmpeg_/bin/ffmpeg -i Chimera-AV1-8bit-1920x1080-6736kbps.mp4 -vcodec copy -an -f ivf chimera_8b_1080p.ivf
|
||||
./ffmpeg_/bin/ffmpeg -i Chimera-AV1-10bit-1920x1080-6191kbps.mp4 -vcodec copy -an -f ivf chimera_10b_1080p.ivf
|
||||
|
||||
rm -rf ffmpeg-4.2.1
|
||||
rm -rf ffmpeg_
|
||||
|
||||
# Build GAV1
|
||||
tar -xf libgav1-20191005.tar.xz
|
||||
cd libgav1-master
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "Unix Makefiles" ..
|
||||
make -j $NUM_CPU_CORES
|
||||
echo $? > ~/install-exit-status
|
||||
|
||||
cd ~
|
||||
|
||||
echo "#!/bin/sh
|
||||
./libgav1-master/build/gav1_decode --threads \$NUM_CPU_CORES \$@ -o /dev/null -v > \$LOG_FILE 2>&1
|
||||
echo \$? > ~/test-exit-status" > libgav1
|
||||
chmod +x libgav1
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.0.1-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>time to decode input: 171277355 us (8929 frames, #_RESULT_# fps)</OutputTemplate>
|
||||
<LineHint>fps</LineHint>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
51
ob-cache/test-profiles/pts/libgav1-1.0.0/test-definition.xml
Normal file
51
ob-cache/test-profiles/pts/libgav1-1.0.0/test-definition.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.0.1-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>libgav1</Title>
|
||||
<AppVersion>2019-10-05</AppVersion>
|
||||
<Description>Libgav1 is an AV1 decoder developed by Google for AV1 profile 0/1 compliance.</Description>
|
||||
<ResultScale>FPS</ResultScale>
|
||||
<Proportion>HIB</Proportion>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.0.0</Version>
|
||||
<SupportedPlatforms>Linux</SupportedPlatforms>
|
||||
<SoftwareType>Utility</SoftwareType>
|
||||
<TestType>Processor</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Verified</Status>
|
||||
<ExternalDependencies>build-utilities, cmake</ExternalDependencies>
|
||||
<EnvironmentSize>1200</EnvironmentSize>
|
||||
<ProjectURL>http://chromium.googlesource.com/codecs/libgav1/</ProjectURL>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
<TestSettings>
|
||||
<Default>
|
||||
<Arguments> </Arguments>
|
||||
</Default>
|
||||
<Option>
|
||||
<DisplayName>Video Input</DisplayName>
|
||||
<Identifier>video</Identifier>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>Summer Nature 1080p</Name>
|
||||
<Value>summer_nature_1080p.ivf</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Summer Nature 4K</Name>
|
||||
<Value>summer_nature_4k.ivf</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Chimera 1080p</Name>
|
||||
<Value>chimera_8b_1080p.ivf</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Chimera 1080p 10-bit</Name>
|
||||
<Value>chimera_10b_1080p.ivf</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
</TestSettings>
|
||||
</PhoronixTestSuite>
|
||||
11
ob-cache/test-profiles/pts/nexuiz-1.6.2/downloads.xml
Normal file
11
ob-cache/test-profiles/pts/nexuiz-1.6.2/downloads.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v8.0.0m0-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>http://ftp.vim.org/pub/pub/os/Linux/distr/vectorlinux/veclinux-7.0/source/abs/games/nexuiz/nexuiz-252.zip, ftp://ftp.osuosl.org/.1/vectorlinux/VL64-7.0/source/sourceVL/nexuiz/nexuiz-252.zip</URL>
|
||||
<MD5>d750bc328e58df8492f8d88bdcf818cb</MD5>
|
||||
<FileSize>931253731</FileSize>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
19
ob-cache/test-profiles/pts/nexuiz-1.6.2/install.sh
Normal file
19
ob-cache/test-profiles/pts/nexuiz-1.6.2/install.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -d Nexuiz_/data ] && chmod +w Nexuiz_/data
|
||||
rm -rf Nexuiz Nexuiz_
|
||||
unzip -o nexuiz-252.zip
|
||||
mv Nexuiz Nexuiz_
|
||||
|
||||
echo "#!/bin/sh
|
||||
cd Nexuiz_/
|
||||
if [ \$OS_TYPE = \"MacOSX\" ]
|
||||
then
|
||||
./Nexuiz.app/Contents/MacOS/nexuiz-osx-agl +exec effects-high.cfg \$@ > \$LOG_FILE 2>&1
|
||||
else
|
||||
./nexuiz-linux-glx.sh +exec effects-high.cfg \$@ > \$LOG_FILE 2>&1
|
||||
fi" > nexuiz
|
||||
chmod +x nexuiz
|
||||
|
||||
cd Nexuiz_/
|
||||
chmod -w data
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
unzip -o nexuiz-252.zip
|
||||
mv Nexuiz Nexuiz_
|
||||
|
||||
echo "#!/bin/sh
|
||||
cd Nexuiz_
|
||||
./nexuiz.exe +exec effects-high.cfg \$@ > \$LOG_FILE" > nexuiz
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v8.0.0m0-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>931 frames 8.3999500 seconds #_RESULT_# fps, one-second fps min/avg/max: #_MIN_RESULT_# 119 #_MAX_RESULT_# (44 seconds)</OutputTemplate>
|
||||
<LineHint>fps</LineHint>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
82
ob-cache/test-profiles/pts/nexuiz-1.6.2/test-definition.xml
Normal file
82
ob-cache/test-profiles/pts/nexuiz-1.6.2/test-definition.xml
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v8.0.0m0-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>Nexuiz</Title>
|
||||
<AppVersion>2.5.2</AppVersion>
|
||||
<Description>This is a benchmark of Nexuiz, a popular open-source first-person shooter. This game uses the DarkPlaces engine, which is a largely modified version of the Quake engine with extra features such as High Dynamic Range rendering and OpenGL 2.0 shaders.</Description>
|
||||
<ResultScale>Frames Per Second</ResultScale>
|
||||
<Proportion>HIB</Proportion>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.6.2</Version>
|
||||
<SupportedPlatforms>Linux, MacOSX, Windows</SupportedPlatforms>
|
||||
<SoftwareType>Game</SoftwareType>
|
||||
<TestType>Graphics</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Deprecated</Status>
|
||||
<SupportedArchitectures>x86, x86_64</SupportedArchitectures>
|
||||
<ExternalDependencies>32bit-compatibility</ExternalDependencies>
|
||||
<EnvironmentSize>715</EnvironmentSize>
|
||||
<ProjectURL>http://www.nexuiz.com/</ProjectURL>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
<TestSettings>
|
||||
<Default>
|
||||
<Arguments>-nohome -benchmark demos/demo2 +r_glsl 1</Arguments>
|
||||
</Default>
|
||||
<Option>
|
||||
<DisplayName>Resolution</DisplayName>
|
||||
<Identifier>auto-resolution</Identifier>
|
||||
<ArgumentPrefix></ArgumentPrefix>
|
||||
<ArgumentPostfix></ArgumentPostfix>
|
||||
<DefaultEntry>0</DefaultEntry>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name>
|
||||
<Value>+vid_width $VIDEO_WIDTH +vid_height $VIDEO_HEIGHT</Value>
|
||||
<Message></Message>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
<Option>
|
||||
<DisplayName>HDR</DisplayName>
|
||||
<Identifier>hdr-rendering</Identifier>
|
||||
<ArgumentPrefix>+r_hdr </ArgumentPrefix>
|
||||
<ArgumentPostfix></ArgumentPostfix>
|
||||
<DefaultEntry>0</DefaultEntry>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>Yes</Name>
|
||||
<Value>1</Value>
|
||||
<Message></Message>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>No</Name>
|
||||
<Value></Value>
|
||||
<Message></Message>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
<Option>
|
||||
<DisplayName>Sound</DisplayName>
|
||||
<Identifier>play-sound</Identifier>
|
||||
<ArgumentPrefix></ArgumentPrefix>
|
||||
<ArgumentPostfix></ArgumentPostfix>
|
||||
<DefaultEntry>0</DefaultEntry>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>On</Name>
|
||||
<Value></Value>
|
||||
<Message></Message>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Off</Name>
|
||||
<Value>-nosound</Value>
|
||||
<Message></Message>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
</TestSettings>
|
||||
</PhoronixTestSuite>
|
||||
29
ob-cache/test-profiles/pts/rav1e-1.0.0/downloads.xml
Normal file
29
ob-cache/test-profiles/pts/rav1e-1.0.0/downloads.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<Downloads>
|
||||
<Package>
|
||||
<URL>http://ultravideo.cs.tut.fi/video/Bosphorus_1920x1080_120fps_420_8bit_YUV_Y4M.7z</URL>
|
||||
<MD5>84ae521c95aa2537e16b34bbf72f2def</MD5>
|
||||
<SHA256>e2f60b904789a60f6d1edc194d8540d401dd882e3ee3605b9b1de8feacc72133</SHA256>
|
||||
<FileName>Bosphorus_1920x1080_120fps_420_8bit_YUV_Y4M.7z</FileName>
|
||||
<FileSize>676792531</FileSize>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://github.com/xiph/rav1e/archive/20191023.tar.gz</URL>
|
||||
<MD5>0e7b33137150436812365327368e06ce</MD5>
|
||||
<SHA256>50cea4011703e99529d7798d4a40207f6d0ce6d5562b4e5f96f96262eddfd4dc</SHA256>
|
||||
<FileName>rav1e-20191023.tar.gz</FileName>
|
||||
<FileSize>572264</FileSize>
|
||||
<PlatformSpecific>Linux</PlatformSpecific>
|
||||
</Package>
|
||||
<Package>
|
||||
<URL>https://github.com/xiph/rav1e/releases/download/20191023/rav1e.exe</URL>
|
||||
<MD5>43d6a1d1f04857ca755eada00941064f</MD5>
|
||||
<SHA256>656341e36b36262a27a29406de64e6b64c02459b552995285e33818eee1af9f2</SHA256>
|
||||
<FileName>rav1e-20191023.exe</FileName>
|
||||
<FileSize>4328448</FileSize>
|
||||
<PlatformSpecific>Windows</PlatformSpecific>
|
||||
</Package>
|
||||
</Downloads>
|
||||
</PhoronixTestSuite>
|
||||
17
ob-cache/test-profiles/pts/rav1e-1.0.0/install.sh
Normal file
17
ob-cache/test-profiles/pts/rav1e-1.0.0/install.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
7z x Bosphorus_1920x1080_120fps_420_8bit_YUV_Y4M.7z
|
||||
|
||||
tar -xf rav1e-20191023.tar.gz
|
||||
cd rav1e-20191023
|
||||
cargo build --bin rav1e --release -j $NUM_CPU_PHYSICAL_CORES
|
||||
echo $? > ~/install-exit-status
|
||||
|
||||
cd ~
|
||||
echo "#!/bin/sh
|
||||
cd rav1e-20191023
|
||||
./target/release/rav1e ../Bosphorus_1920x1080_120fps_420_8bit_YUV.y4m --threads \$NUM_CPU_CORES --tile-rows 4 --tile-cols 4 --output /dev/null --limit 60 > log.out 2>&1
|
||||
echo \$? > ~/test-exit-status
|
||||
|
||||
tr -s '\r' '\n' < log.out > \$LOG_FILE" > rav1e
|
||||
chmod +x rav1e
|
||||
10
ob-cache/test-profiles/pts/rav1e-1.0.0/install_windows.sh
Normal file
10
ob-cache/test-profiles/pts/rav1e-1.0.0/install_windows.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
7z x Bosphorus_1920x1080_120fps_420_8bit_YUV_Y4M.7z
|
||||
|
||||
echo "#!/bin/sh
|
||||
./rav1e-20191023.exe Bosphorus_1920x1080_120fps_420_8bit_YUV.y4m --threads \$NUM_CPU_CORES --tile-rows 4 --tile-cols 4 --output output --limit 60 > log.out 2>&1
|
||||
rm -f output
|
||||
|
||||
tr -s '\r' '\n' < log.out > \$LOG_FILE" > rav1e
|
||||
chmod +x rav1e
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>encoded 60/60 frames, #_RESULT_# fps, 2306.73 Kb/s, est. size: 0.27 MB, est. time: 0s </OutputTemplate>
|
||||
<LineHint>encoded 60/60</LineHint>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
26
ob-cache/test-profiles/pts/rav1e-1.0.0/test-definition.xml
Normal file
26
ob-cache/test-profiles/pts/rav1e-1.0.0/test-definition.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>rav1e</Title>
|
||||
<AppVersion>20191023</AppVersion>
|
||||
<Description>Xiph rav1e is a Rust-written AV1 video encoder.</Description>
|
||||
<ResultScale>Frames Per Second</ResultScale>
|
||||
<Proportion>HIB</Proportion>
|
||||
<SubTitle>1080p To AV1 Video Encode</SubTitle>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.0.0</Version>
|
||||
<SupportedPlatforms>Linux, Windows</SupportedPlatforms>
|
||||
<SoftwareType>Utility</SoftwareType>
|
||||
<TestType>Processor</TestType>
|
||||
<License>Free</License>
|
||||
<Status>Verified</Status>
|
||||
<ExternalDependencies>rust, yasm, perl, cmake</ExternalDependencies>
|
||||
<EnvironmentSize>3000</EnvironmentSize>
|
||||
<ProjectURL>https://github.com/xiph/rav1e</ProjectURL>
|
||||
<InternalTags>SMP</InternalTags>
|
||||
<Maintainer>Michael Larabel</Maintainer>
|
||||
</TestProfile>
|
||||
</PhoronixTestSuite>
|
||||
213
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/install.sh
Executable file
213
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/install.sh
Executable file
@@ -0,0 +1,213 @@
|
||||
#!/bin/bash -e
|
||||
# Install Shadow of the Tomb Raider on Linux and generate launcher scripts and preference templates
|
||||
|
||||
# Base constants
|
||||
#
|
||||
export STEAM_GAME_ID=750920
|
||||
export GAME_PREFS="$DEBUG_REAL_HOME/.local/share/feral-interactive/Shadow of the Tomb Raider"
|
||||
export GAME_INSTALL_DIR_BASE="steamapps/common/Shadow of the Tomb Raider/"
|
||||
export DEFAULT_STEAM_INSTALL_BASE="$DEBUG_REAL_HOME/.steam/steam"
|
||||
|
||||
|
||||
# Try and install the game in case it isn't already
|
||||
#
|
||||
echo "Ensuring game is installed"
|
||||
HOME="$DEBUG_REAL_HOME" steam "steam://install/$STEAM_GAME_ID"
|
||||
|
||||
|
||||
# Work out the steam install directory
|
||||
#
|
||||
export CONFIG_PATH="$DEBUG_REAL_HOME/.steam/steam/config/config.vdf"
|
||||
echo "Searching ${CONFIG_PATH} for install directories"
|
||||
_INSTALL_PATHS=$( awk '/BaseInstallFolder/ { gsub(/"/, "", $2); print $2 }' "${CONFIG_PATH}" )
|
||||
|
||||
# Find one that contains the game
|
||||
while read -r STEAM_PATH; do
|
||||
_NEW_FULL_PATH="${STEAM_PATH}/${GAME_INSTALL_DIR_BASE}"
|
||||
echo "Checking for game install: ${_NEW_FULL_PATH}"
|
||||
if [ -d "${_NEW_FULL_PATH}" ]; then
|
||||
echo "Found game install: ${_NEW_FULL_PATH}"
|
||||
export GAME_INSTALL_DIR="${_NEW_FULL_PATH}"
|
||||
fi
|
||||
done <<< "${_INSTALL_PATHS}"
|
||||
|
||||
# Allow the default location as well
|
||||
if [ ! -d "${GAME_INSTALL_DIR}" ]; then
|
||||
export GAME_INSTALL_DIR="${DEFAULT_STEAM_INSTALL_BASE}/${GAME_INSTALL_DIR_BASE}"
|
||||
echo "Using default directory for game install: ${GAME_INSTALL_DIR}"
|
||||
fi
|
||||
|
||||
# Bail if we still couldn't find the game
|
||||
if [ ! -f "${GAME_INSTALL_DIR}/ShadowOfTheTombRaider.sh" ]; then
|
||||
>&2 echo "Missing run script in install dir - ${GAME_INSTALL_DIR}/ShadowOfTheTombRaider.sh"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Gather the steam env variables the game runs with
|
||||
#
|
||||
echo "Gathering environment variables for game"
|
||||
HOME="$DEBUG_REAL_HOME" steam steam://run/$STEAM_GAME_ID &
|
||||
sleep 6
|
||||
GAME_PID=$( pidof ShadowOfTheTombRaider | cut -d' ' -f1 )
|
||||
if [ -z "$GAME_PID" ]; then
|
||||
echo "Could not find process ShadowOfTheTombRaider"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo '#!/bin/bash' > steam-env-vars.sh
|
||||
echo "# Collected steam environment for Shadow of the Tomb Raider\n# PID : $GAME_PID" >> steam-env-vars.sh
|
||||
while read -rd $'\0' ENV ; do
|
||||
NAME=$(echo "$ENV" | cut -zd= -f1); VAL=$(echo "$ENV" | cut -zd= -f2)
|
||||
case $NAME in
|
||||
*DBUS*) true
|
||||
;;
|
||||
*)
|
||||
echo "export $NAME=\"$VAL\""
|
||||
;;
|
||||
esac
|
||||
done < "/proc/$GAME_PID/environ" >> steam-env-vars.sh
|
||||
killall -9 ShadowOfTheTombRaider
|
||||
sleep 6
|
||||
|
||||
|
||||
|
||||
if [ -z "${STEAM_ACCOUNT_ID}" ]; then
|
||||
pushd "${GAME_PREFS}/SaveData/"
|
||||
STEAM_ACCOUNT_ID="$(ls |head -1)"
|
||||
popd
|
||||
else
|
||||
STEAM_ACCOUNT_ID="Steam Saves (${STEAM_ACCOUNT_ID})"
|
||||
fi
|
||||
|
||||
# Create the game launching script
|
||||
#
|
||||
echo "Generating run script"
|
||||
cat > shadowofthetombraider <<- EOM
|
||||
#!/bin/bash
|
||||
# Generated run script for Shadow of the Tomb Raider
|
||||
# Mon Oct 28 13:46:00 PDT 2019
|
||||
|
||||
# Source the steam runtime environment
|
||||
#
|
||||
. steam-env-vars.sh
|
||||
|
||||
# Clear the results dir
|
||||
|
||||
RESULTS_DIR="${GAME_PREFS}/SaveData"
|
||||
if [ -d "\${RESULTS_DIR}" ]; then
|
||||
rm -R "\${RESULTS_DIR}"
|
||||
mkdir -p "\${RESULTS_DIR}"
|
||||
fi
|
||||
|
||||
# Run the game
|
||||
#
|
||||
cd "${GAME_INSTALL_DIR}"
|
||||
./ShadowOfTheTombRaider.sh
|
||||
|
||||
# Grab the output (most recent xml file results line)
|
||||
#
|
||||
# NOTE: There's also a location_machine_frametimes_datetime.txt file for more detailed results
|
||||
cd "\${RESULTS_DIR}"
|
||||
true > "\$LOG_FILE"
|
||||
FPS_VALUES=\$(grep --text --no-filename FPS -R --include="*.txt" | head -3 | tr -d '\r' | paste -s )
|
||||
echo "\${FPS_VALUES}" >> "\${LOG_FILE}"
|
||||
EOM
|
||||
chmod +x shadowofthetombraider
|
||||
|
||||
|
||||
# Create the template preferences file
|
||||
#
|
||||
echo "Generating settings template"
|
||||
cat > preferences.template.xml <<- EOM
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<registry>
|
||||
<key name="HKEY_CLASSES_ROOT">
|
||||
</key>
|
||||
<key name="HKEY_CURRENT_CONFIG">
|
||||
</key>
|
||||
<key name="HKEY_CURRENT_USER">
|
||||
<key name="Software">
|
||||
<key name="Eidos Montreal">
|
||||
<key name="Shadow of the Tomb Raider">
|
||||
<value name="ChannelFormat" type="integer">0</value>
|
||||
<value name="FirstRun" type="integer">0</value>
|
||||
<value name="SteamLanguage" type="integer">0</value>
|
||||
<value name="TextLanguage" type="integer">0</value>
|
||||
<value name="VOLanguage" type="integer">0</value>
|
||||
<key name="Graphics">
|
||||
<key name="Defaults">
|
||||
<value name="AA" type="integer">@gfx_aa@</value>
|
||||
<value name="AmbientOcclusionQuality" type="integer">@gfx_ao@</value>
|
||||
<value name="Bloom" type="integer">@gfx_bloom@</value>
|
||||
<value name="DOFQuality" type="integer">@gfx_dof_quality@</value>
|
||||
<value name="Fullscreen" type="integer">1</value>
|
||||
<value name="FullscreenHeight" type="integer">@ScreenH@</value>
|
||||
<value name="FullscreenWidth" type="integer">@ScreenW@</value>
|
||||
<value name="LevelOfDetail" type="integer">@gfx_lod@</value>
|
||||
<value name="MotionBlur" type="integer">@gfx_motion_blur@</value>
|
||||
<value name="Preset" type="integer">@gfx_preset@</value>
|
||||
<value name="ScreenSpaceContactShadows" type="integer">@gfx_contact_shadows@</value>
|
||||
<value name="ScreenSpaceReflections" type="integer">@gfx_reflections@</value>
|
||||
<value name="ShadowQuality" type="integer">@gfx_shadow_quality@</value>
|
||||
<value name="Tessellation" type="integer">@gfx_tessellation@</value>
|
||||
<value name="TextureFiltering" type="integer">@gfx_tex_filter@</value>
|
||||
<value name="TextureQuality" type="integer">@gfx_tex_quality@</value>
|
||||
<value name="TressFX" type="integer">@gfx_tressfx@</value>
|
||||
<value name="VolumetricLighting" type="integer">@gfx_volumetric@</value>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
<key name="Feral Interactive">
|
||||
<key name="Shadow of the Tomb Raider">
|
||||
<key name="Setup">
|
||||
<value name="AllowPausing" type="integer">0</value>
|
||||
<value name="AllowSendCrashReports" type="integer">0</value>
|
||||
<value name="AllowSendUsageData" type="integer">0</value>
|
||||
<value name="AvoidSwapInjectionDuringPGOW" type="integer">1</value>
|
||||
<value name="ConstrainLiveWindowResize" type="integer">1</value>
|
||||
<value name="DoneMinOS" type="integer">0</value>
|
||||
<value name="DonePromotional" type="integer">0</value>
|
||||
<value name="DoneUnsupported" type="integer">0</value>
|
||||
<value name="GameOptionsDialogShouldShow" type="integer">0</value>
|
||||
<value name="GameOptionsDialogShouldShowBigPicture" type="integer">0</value>
|
||||
<value name="GameOptionsDialogShown" type="integer">1</value>
|
||||
<value name="GameSelected" type="integer">0</value>
|
||||
<value name="IgnoreLanguageHeadings" type="integer">1</value>
|
||||
<value name="LiveWindowResizePercentage" type="integer">0</value>
|
||||
<value name="LiveWindowResizeThreshold" type="integer">0</value>
|
||||
<value name="MinWindowedHeight" type="integer">0</value>
|
||||
<value name="MinWindowedWidth" type="integer">0</value>
|
||||
<value name="PauseMoviesOnPause" type="integer">0</value>
|
||||
<value name="PauseOnSuspend" type="integer">0</value>
|
||||
<value name="PauseSoundOnPause" type="integer">0</value>
|
||||
<value name="PauseTimersOnPause" type="integer">0</value>
|
||||
<value name="RestoreMouseOnSuspend" type="integer">1</value>
|
||||
<value name="RestoreResOnSuspend" type="integer">1</value>
|
||||
<value name="ScreenH" type="integer">0</value>
|
||||
<value name="ScreenW" type="integer">0</value>
|
||||
<value name="ShowAssertAlerts" type="integer">0</value>
|
||||
<value name="ShowLevelSelect" type="integer">1</value>
|
||||
<value name="ShowTheHideDockCheckbox" type="integer">0</value>
|
||||
<value name="SoftwareUpdatedAskedUser" type="integer">1</value>
|
||||
<value name="SoftwareUpdatedCanCheck" type="integer">1</value>
|
||||
<value name="SpecificationFirstLaunchCheck" type="integer">0</value>
|
||||
<key name="SpecificationAlerts">
|
||||
<value name="DriverOrHardwareUnsupported" type="integer">1</value>
|
||||
<value name="LnxCPUGovernorSubOptimal" type="integer">1</value>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
<key name="MacDoze">
|
||||
<key name="Config">
|
||||
<value name="ClearSavesEnabled" type="integer">0</value>
|
||||
<value name="DisableClearSaveDataAlert" type="integer">0</value>
|
||||
<value name="ExtraCommandLine" type="string">--feral-benchmark</value>
|
||||
<value name="ExtraCommandLineEnabled" type="integer">1</value>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
</registry>
|
||||
EOM
|
||||
6
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/interim.sh
Executable file
6
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/interim.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
GAME_PREFS="$DEBUG_REAL_HOME/.local/share/feral-interactive/Shadow of the Tomb Raider"
|
||||
|
||||
# Clean out the game temp files to ensure we have a clean run
|
||||
rm -rf "${GAME_PREFS:?}/VFS"
|
||||
|
||||
11
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/post.sh
Executable file
11
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/post.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash -e
|
||||
GAME_PREFS="$DEBUG_REAL_HOME/.local/share/feral-interactive/Shadow of the Tomb Raider"
|
||||
|
||||
# Grab the old prefs bkp location
|
||||
DATETIME=$( cat /tmp/sotr-bkp-dt )
|
||||
rm /tmp/sotr-bkp-dt
|
||||
GAME_PREFS_BKP="${GAME_PREFS}.pts-$DATETIME-bkp"
|
||||
|
||||
# Put back our game prefs
|
||||
rm -rf "${GAME_PREFS:?}/"
|
||||
mv "$GAME_PREFS_BKP" "$GAME_PREFS"
|
||||
118
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/pre.sh
Executable file
118
ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/pre.sh
Executable file
@@ -0,0 +1,118 @@
|
||||
#!/bin/bash -e
|
||||
set -o xtrace
|
||||
exec > /tmp/test
|
||||
exec 2>&1
|
||||
|
||||
# Input settings
|
||||
WIDTH=$1
|
||||
HEIGHT=$2
|
||||
SETTING=$3
|
||||
AA=$4
|
||||
|
||||
# Game preferences
|
||||
export HOME=$DEBUG_REAL_HOME
|
||||
GAME_PREFS="$DEBUG_REAL_HOME/.local/share/feral-interactive/Shadow of the Tomb Raider"
|
||||
|
||||
# Set up (and back up) the game preferences files
|
||||
DATETIME=$( date +%Y-%d-%m-%H-%M )
|
||||
echo "$DATETIME" > /tmp/sotr-bkp-dt
|
||||
GAME_PREFS_BKP="${GAME_PREFS}.pts-$DATETIME-bkp"
|
||||
cp -r "$GAME_PREFS" "$GAME_PREFS_BKP"
|
||||
|
||||
if [ -f "$GAME_PREFS/preferences" ]; then
|
||||
rm "$GAME_PREFS/preferences"
|
||||
fi
|
||||
# clear previous runs
|
||||
rm -rf "${GAME_PREFS}.pts*"
|
||||
|
||||
# Set up the files to use
|
||||
|
||||
cp "preferences.template.xml" "$GAME_PREFS/preferences"
|
||||
|
||||
# Replace the resolutions
|
||||
cd "$GAME_PREFS" || exit
|
||||
|
||||
# Replace settings with those chosen
|
||||
sed -i "s/@ScreenW@/$WIDTH/g" preferences
|
||||
sed -i "s/@ScreenH@/$HEIGHT/g" preferences
|
||||
sed -i "s/@gfx_aa@/$AA/g" preferences
|
||||
|
||||
if [ $SETTING = "Lowest" ]; then
|
||||
sed -i "s/@gfx_ao@/0/g" preferences
|
||||
sed -i "s/@gfx_bloom@/0/g" preferences
|
||||
sed -i "s/@gfx_dof_quality@/0/g" preferences
|
||||
sed -i "s/@gfx_lod@/0/g" preferences
|
||||
sed -i "s/@gfx_motion_blur@/0/g" preferences
|
||||
sed -i "s/@gfx_contact_shadows@/0/g" preferences
|
||||
sed -i "s/@gfx_preset@/0/g" preferences
|
||||
sed -i "s/@gfx_reflections@/0/g" preferences
|
||||
sed -i "s/@gfx_shadow_quality@/0/g" preferences
|
||||
sed -i "s/@gfx_tessellation@/0/g" preferences
|
||||
sed -i "s/@gfx_tex_filter@/0/g" preferences
|
||||
sed -i "s/@gfx_tex_quality@/0/g" preferences
|
||||
sed -i "s/@gfx_tressfx@/0/g" preferences
|
||||
sed -i "s/@gfx_volumetric@/0/g" preferences
|
||||
elif [ $SETTING = "Low" ]; then
|
||||
sed -i "s/@gfx_ao@/0/g" preferences
|
||||
sed -i "s/@gfx_bloom@/1/g" preferences
|
||||
sed -i "s/@gfx_dof_quality@/0/g" preferences
|
||||
sed -i "s/@gfx_lod@/1/g" preferences
|
||||
sed -i "s/@gfx_motion_blur@/0/g" preferences
|
||||
sed -i "s/@gfx_contact_shadows@/0/g" preferences
|
||||
sed -i "s/@gfx_reflections@/0/g" preferences
|
||||
sed -i "s/@gfx_preset@/1/g" preferences
|
||||
sed -i "s/@gfx_shadow_quality@/1/g" preferences
|
||||
sed -i "s/@gfx_tessellation@/0/g" preferences
|
||||
sed -i "s/@gfx_tex_filter@/0/g" preferences
|
||||
sed -i "s/@gfx_tex_quality@/0/g" preferences
|
||||
sed -i "s/@gfx_tressfx@/0/g" preferences
|
||||
sed -i "s/@gfx_volumetric@/1/g" preferences
|
||||
elif [ $SETTING = "Medium" ]; then
|
||||
sed -i "s/@gfx_ao@/1/g" preferences
|
||||
sed -i "s/@gfx_bloom@/1/g" preferences
|
||||
sed -i "s/@gfx_dof_quality@/1/g" preferences
|
||||
sed -i "s/@gfx_lod@/2/g" preferences
|
||||
sed -i "s/@gfx_motion_blur@/1/g" preferences
|
||||
sed -i "s/@gfx_contact_shadows@/0/g" preferences
|
||||
sed -i "s/@gfx_reflections@/1/g" preferences
|
||||
sed -i "s/@gfx_preset@/2/g" preferences
|
||||
sed -i "s/@gfx_shadow_quality@/1/g" preferences
|
||||
sed -i "s/@gfx_tessellation@/0/g" preferences
|
||||
sed -i "s/@gfx_tex_filter@/1/g" preferences
|
||||
sed -i "s/@gfx_tex_quality@/1/g" preferences
|
||||
sed -i "s/@gfx_tressfx@/1/g" preferences
|
||||
sed -i "s/@gfx_volumetric@/1/g" preferences
|
||||
elif [ $SETTING = "High" ]; then
|
||||
sed -i "s/@gfx_ao@/1/g" preferences
|
||||
sed -i "s/@gfx_bloom@/1/g" preferences
|
||||
sed -i "s/@gfx_dof_quality@/1/g" preferences
|
||||
sed -i "s/@gfx_lod@/2/g" preferences
|
||||
sed -i "s/@gfx_motion_blur@/1/g" preferences
|
||||
sed -i "s/@gfx_contact_shadows@/0/g" preferences
|
||||
sed -i "s/@gfx_reflections@/1/g" preferences
|
||||
sed -i "s/@gfx_shadow_quality@/2/g" preferences
|
||||
sed -i "s/@gfx_preset@/3/g" preferences
|
||||
sed -i "s/@gfx_tessellation@/1/g" preferences
|
||||
sed -i "s/@gfx_tex_filter@/2/g" preferences
|
||||
sed -i "s/@gfx_tex_quality@/2/g" preferences
|
||||
sed -i "s/@gfx_tressfx@/1/g" preferences
|
||||
sed -i "s/@gfx_volumetric@/1/g" preferences
|
||||
elif [ $SETTING = "Highest" ]; then
|
||||
sed -i "s/@gfx_ao@/1/g" preferences
|
||||
sed -i "s/@gfx_bloom@/1/g" preferences
|
||||
sed -i "s/@gfx_dof_quality@/2/g" preferences
|
||||
sed -i "s/@gfx_lod@/3/g" preferences
|
||||
sed -i "s/@gfx_motion_blur@/1/g" preferences
|
||||
sed -i "s/@gfx_contact_shadows@/1/g" preferences
|
||||
sed -i "s/@gfx_reflections@/1/g" preferences
|
||||
sed -i "s/@gfx_preset@/4/g" preferences
|
||||
sed -i "s/@gfx_shadow_quality@/3/g" preferences
|
||||
sed -i "s/@gfx_tessellation@/1/g" preferences
|
||||
sed -i "s/@gfx_tex_filter@/3/g" preferences
|
||||
sed -i "s/@gfx_tex_quality@/3/g" preferences
|
||||
sed -i "s/@gfx_tressfx@/1/g" preferences
|
||||
sed -i "s/@gfx_volumetric@/1/g" preferences
|
||||
else
|
||||
echo "Failed to set graphics preset"
|
||||
exit 2
|
||||
fi
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<ResultsParser>
|
||||
<OutputTemplate>Min FPS: #_MIN_RESULT_# Max FPS: #_MAX_RESULT_# Average FPS: #_RESULT_#</OutputTemplate>
|
||||
</ResultsParser>
|
||||
</PhoronixTestSuite>
|
||||
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--Phoronix Test Suite v9.2.0m1-->
|
||||
<PhoronixTestSuite>
|
||||
<TestInformation>
|
||||
<Title>Shadow of the Tomb Raider</Title>
|
||||
<Description>Shadow of the Tomb Raider on Steam.
|
||||
|
||||
The test profile assumes you have a Steam account, have Steam installed for the system, and that you own a copy of this game. This automates the process of executing the game and using its built-in benchmark mode.
|
||||
|
||||
Backs up old preferences (in ~/.local/share/feral-interactive/) for the run.
|
||||
|
||||
</Description>
|
||||
<ResultScale>Frames Per Second</ResultScale>
|
||||
<Proportion>HIB</Proportion>
|
||||
<TimesToRun>3</TimesToRun>
|
||||
<IgnoreRuns>1</IgnoreRuns>
|
||||
<PreInstallMessage>This test will attempt to install the necessary game using your Steam account. If the test appears hung you may need to manually exit the Steam client.</PreInstallMessage>
|
||||
</TestInformation>
|
||||
<TestProfile>
|
||||
<Version>1.0.1</Version>
|
||||
<SupportedPlatforms>Linux</SupportedPlatforms>
|
||||
<SoftwareType>Game</SoftwareType>
|
||||
<TestType>Graphics</TestType>
|
||||
<License>Retail</License>
|
||||
<Status>Verified</Status>
|
||||
<SupportedArchitectures>x86_64</SupportedArchitectures>
|
||||
<RequiresDisplay>TRUE</RequiresDisplay>
|
||||
<EnvironmentSize>2</EnvironmentSize>
|
||||
<EstimatedTimePerRun>3240</EstimatedTimePerRun>
|
||||
<ProjectURL>https://store.steampowered.com/app/750920/</ProjectURL>
|
||||
<Maintainer>NVIDIA</Maintainer>
|
||||
</TestProfile>
|
||||
<TestSettings>
|
||||
<Option>
|
||||
<DisplayName>Resolution</DisplayName>
|
||||
<Identifier>auto-resolution</Identifier>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name>
|
||||
<Value>$VIDEO_WIDTH $VIDEO_HEIGHT</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
<Option>
|
||||
<DisplayName>Graphics Preset</DisplayName>
|
||||
<Identifier>graphics-preset</Identifier>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>Lowest</Name>
|
||||
<Value>Lowest</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Low</Name>
|
||||
<Value>Low</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Medium</Name>
|
||||
<Value>Medium</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>High</Name>
|
||||
<Value>High</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>Highest</Name>
|
||||
<Value>Highest</Value>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
<Option>
|
||||
<DisplayName>Anti Aliasing</DisplayName>
|
||||
<Identifier>anti-aliasing</Identifier>
|
||||
<Menu>
|
||||
<Entry>
|
||||
<Name>Off</Name>
|
||||
<Value>0</Value>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>SMAA</Name>
|
||||
<Value>1</Value>
|
||||
<Message>Subpixel Morphological AA</Message>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>TAA</Name>
|
||||
<Value>2</Value>
|
||||
<Message>Temporal AA</Message>
|
||||
</Entry>
|
||||
<Entry>
|
||||
<Name>SMAAT2x</Name>
|
||||
<Value>3</Value>
|
||||
<Message>Blend of SMAA and TAA</Message>
|
||||
</Entry>
|
||||
</Menu>
|
||||
</Option>
|
||||
</TestSettings>
|
||||
</PhoronixTestSuite>
|
||||
@@ -3,8 +3,8 @@
|
||||
#
|
||||
# Phoronix Test Suite
|
||||
# URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
# Copyright (C) 2008 - 2019, Phoronix Media
|
||||
# Copyright (C) 2008 - 2019, Michael Larabel
|
||||
# Copyright (C) 2008 - 2020, Phoronix Media
|
||||
# Copyright (C) 2008 - 2020, Michael Larabel
|
||||
# phoronix-test-suite: The Phoronix Test Suite is an extensible open-source testing / benchmarking platform
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@@ -35,6 +35,7 @@ then
|
||||
else
|
||||
export PTS_DIR=$(readlink -f `dirname $0`)
|
||||
fi
|
||||
#export PTS_DIR=`pwd`
|
||||
|
||||
export PTS_MODE="CLIENT"
|
||||
if which realpath >/dev/null 2>&1 ;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
:: Phoronix Test Suite
|
||||
:: URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
:: Copyright (C) 2008 - 2019, Phoronix Media
|
||||
:: Copyright (C) 2008 - 2019, Michael Larabel
|
||||
:: Copyright (C) 2008 - 2020, Phoronix Media
|
||||
:: Copyright (C) 2008 - 2020, Michael Larabel
|
||||
:: phoronix-test-suite: The Phoronix Test Suite is an extensible open-source testing / benchmarking platform
|
||||
::
|
||||
:: This program is free software; you can redistribute it and/or modify
|
||||
@@ -36,12 +36,12 @@ If defined PHP_BIN goto SkipBinSearch
|
||||
If not exist C:\PHP\php.exe (
|
||||
echo Attempting to download and setup Windows PHP release.
|
||||
If not exist php.zip (
|
||||
powershell -command "& { iwr http://phoronix-test-suite.com/benchmark-files/php-7.2.3-Win32-VC15-x64.zip -OutFile php.zip }"
|
||||
powershell -command "& { $ProgressPreference = 'SilentlyContinue'; iwr http://phoronix-test-suite.com/benchmark-files/php-7.2.3-Win32-VC15-x64.zip -OutFile php.zip; $ProgressPreference = 'Continue' }"
|
||||
)
|
||||
powershell -command "& { Expand-Archive php.zip -DestinationPath C:\PHP }"
|
||||
If not exist VC_redist.x64.exe (
|
||||
echo Attempting to download and run Visual C++ Redistributable for Visual Studio 2017 support.
|
||||
powershell -command "& { iwr https://go.microsoft.com/fwlink/?LinkId=746572 -OutFile VC_redist.x64.exe }"
|
||||
powershell -command "& { $ProgressPreference = 'SilentlyContinue'; iwr https://go.microsoft.com/fwlink/?LinkId=746572 -OutFile VC_redist.x64.exe; $ProgressPreference = 'Continue' }"
|
||||
VC_redist.x64.exe
|
||||
)
|
||||
)
|
||||
|
||||
@@ -45,7 +45,7 @@ class create_test_profile implements pts_option_interface
|
||||
$is_valid = false;
|
||||
echo 'There is already a test suite named ' . $input . '.' . PHP_EOL;
|
||||
}
|
||||
else if(pts_result_file::is_test_result_file($input))
|
||||
else if(pts_results::is_saved_result_file($input))
|
||||
{
|
||||
$is_valid = false;
|
||||
echo 'There is already a result file named ' . $input . '.' . PHP_EOL;
|
||||
|
||||
@@ -106,7 +106,7 @@ class debug_render_test implements pts_option_interface
|
||||
{
|
||||
echo PHP_EOL . 'LOCAL RENDER TEST TIME' . PHP_EOL;
|
||||
$extra_graph_attributes = null;
|
||||
foreach(pts_client::saved_test_results() as $saved_result)
|
||||
foreach(pts_results::saved_test_results() as $saved_result)
|
||||
{
|
||||
$save_to_dir = pts_client::setup_test_result_directory($saved_result);
|
||||
$generated_graphs = pts_client::generate_result_file_graphs($saved_result, $save_to_dir, $extra_graph_attributes);
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2014 - 2019, Phoronix Media
|
||||
Copyright (C) 2014 - 2019, Michael Larabel
|
||||
Copyright (C) 2014 - 2020, Phoronix Media
|
||||
Copyright (C) 2014 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -48,7 +48,7 @@ class edit_result_file implements pts_option_interface
|
||||
{
|
||||
$result_file->set_description($new_description);
|
||||
}
|
||||
pts_client::save_test_result($result_file->get_file_location(), $result_file->get_xml());
|
||||
$result_file->save();
|
||||
pts_client::display_result_view($result_file, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2009 - 2018, Phoronix Media
|
||||
Copyright (C) 2009 - 2018, Michael Larabel
|
||||
Copyright (C) 2009 - 2020, Phoronix Media
|
||||
Copyright (C) 2009 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -28,7 +28,7 @@ class finish_run implements pts_option_interface
|
||||
public static function argument_checks()
|
||||
{
|
||||
return array(
|
||||
new pts_argument_check(0, array('pts_result_file', 'is_test_result_file'), null)
|
||||
new pts_argument_check(0, array('pts_results', 'is_saved_result_file'), null)
|
||||
);
|
||||
}
|
||||
public static function run($args)
|
||||
|
||||
@@ -197,7 +197,7 @@ class info implements pts_option_interface
|
||||
{
|
||||
$o_identifier = $o->get_identifier(false);
|
||||
$table = array();
|
||||
foreach(pts_client::saved_test_results() as $saved_results_identifier)
|
||||
foreach(pts_results::saved_test_results() as $saved_results_identifier)
|
||||
{
|
||||
$result_file = new pts_result_file($saved_results_identifier);
|
||||
foreach($result_file->get_result_objects() as $result_object)
|
||||
|
||||
@@ -48,7 +48,7 @@ class interactive implements pts_option_interface
|
||||
'SEARCH' => 'Search Tests / Suites / Results'
|
||||
);
|
||||
|
||||
if(count(pts_client::saved_test_results()) > 0)
|
||||
if(count(pts_results::saved_test_results()) > 0)
|
||||
{
|
||||
$options['BACKUP_RESULTS_TO_USB'] = 'Backup Results To Media Storage';
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ class list_saved_results implements pts_option_interface
|
||||
}
|
||||
public static function run($r)
|
||||
{
|
||||
$saved_results = pts_client::saved_test_results();
|
||||
$saved_results = pts_results::saved_test_results();
|
||||
pts_client::$display->generic_heading(count($saved_results) . ' Saved Results');
|
||||
|
||||
if(count($saved_results) > 0)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2008 - 2019, Phoronix Media
|
||||
Copyright (C) 2008 - 2019, Michael Larabel
|
||||
Copyright (C) 2008 - 2020, Phoronix Media
|
||||
Copyright (C) 2008 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -62,7 +62,7 @@ class merge_results implements pts_option_interface
|
||||
$result_file->merge($result_files_to_merge);
|
||||
pts_client::save_test_result($merge_to_file, $result_file->get_xml());
|
||||
echo 'Merged Results Saved To: ' . PTS_SAVE_RESULTS_PATH . $merge_to_file . PHP_EOL . PHP_EOL;
|
||||
pts_client::display_result_view($merge_to_file, false);
|
||||
pts_client::display_result_view('merge-' . $rand_file, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2008 - 2011, Phoronix Media
|
||||
Copyright (C) 2008 - 2011, Michael Larabel
|
||||
Copyright (C) 2008 - 2020, Phoronix Media
|
||||
Copyright (C) 2008 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -28,12 +28,12 @@ class remove_result implements pts_option_interface
|
||||
public static function argument_checks()
|
||||
{
|
||||
return array(
|
||||
new pts_argument_check(0, array('pts_result_file', 'is_test_result_file'), null)
|
||||
new pts_argument_check(0, array('pts_results', 'is_saved_result_file'), null)
|
||||
);
|
||||
}
|
||||
public static function run($r)
|
||||
{
|
||||
pts_client::remove_saved_result_file($r[0]);
|
||||
pts_results::remove_saved_result_file($r[0]);
|
||||
echo PHP_EOL . $r[0] . ' was removed.' . PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2009 - 2019, Phoronix Media
|
||||
Copyright (C) 2009 - 2019, Michael Larabel
|
||||
Copyright (C) 2009 - 2020, Phoronix Media
|
||||
Copyright (C) 2009 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -33,7 +33,7 @@ class result_file_to_pdf implements pts_option_interface
|
||||
}
|
||||
public static function run($r)
|
||||
{
|
||||
if(!function_exists('getimagesizefromstring') || !function_exists('imagettftext') || !extension_loaded('gd'))
|
||||
if(!pts_svg_dom_gd::is_supported())
|
||||
{
|
||||
echo pts_client::cli_just_bold('PHP GD support and TTF support are required for the PDF output if wanting to display the benchmark result graphs.') . PHP_EOL . PHP_EOL;
|
||||
//return false;
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2014 - 2018, Phoronix Media
|
||||
Copyright (C) 2014 - 2018, Michael Larabel
|
||||
Copyright (C) 2014 - 2020, Phoronix Media
|
||||
Copyright (C) 2014 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -152,7 +152,7 @@ class run_random_tests implements pts_option_interface
|
||||
$test_run_manager->pre_execution_process();
|
||||
$test_run_manager->call_test_runs();
|
||||
$test_run_manager->post_execution_process();
|
||||
pts_client::remove_saved_result_file($test_run_manager->get_file_name());
|
||||
pts_results::remove_saved_result_file($test_run_manager->get_file_name());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2009 - 2015, Phoronix Media
|
||||
Copyright (C) 2009 - 2015, Michael Larabel
|
||||
Copyright (C) 2009 - 2020, Phoronix Media
|
||||
Copyright (C) 2009 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -27,7 +27,7 @@ class validate_result_file implements pts_option_interface
|
||||
|
||||
public static function run($r)
|
||||
{
|
||||
if(pts_result_file::is_test_result_file($r[0]))
|
||||
if(pts_results::is_saved_result_file($r[0]))
|
||||
{
|
||||
$result_file = new pts_result_file($r[0]);
|
||||
pts_client::$display->generic_heading($r[0]);
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2015 - 2018, Phoronix Media
|
||||
Copyright (C) 2015 - 2018, Michael Larabel
|
||||
Copyright (C) 2015 - 2020, Phoronix Media
|
||||
Copyright (C) 2015 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -38,6 +38,7 @@ class ubuntu_dependency_handler implements pts_dependency_handler
|
||||
shell_exec('apt-file update 2>&1');
|
||||
define('APT_FILE_UPDATED', 1);
|
||||
}
|
||||
$added = false;
|
||||
|
||||
// Try appending common paths
|
||||
if(strpos($file, '.h') !== false)
|
||||
@@ -46,6 +47,7 @@ class ubuntu_dependency_handler implements pts_dependency_handler
|
||||
if($apt_provides != null)
|
||||
{
|
||||
$packages_needed[$file] = $apt_provides;
|
||||
$added = true;
|
||||
}
|
||||
}
|
||||
else if(strpos($file, '.so') !== false)
|
||||
@@ -54,20 +56,42 @@ class ubuntu_dependency_handler implements pts_dependency_handler
|
||||
if($apt_provides != null)
|
||||
{
|
||||
$packages_needed[$file] = $apt_provides;
|
||||
$added = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach(array('/usr/bin/', '/bin/', '/usr/sbin') as $possible_path)
|
||||
{
|
||||
foreach(array('/usr/bin/', '/bin/') as $possible_path)
|
||||
{
|
||||
$apt_provides = self::run_apt_file_provides($possible_path . $file);
|
||||
if($apt_provides != null)
|
||||
{
|
||||
$packages_needed[$file] = $apt_provides;
|
||||
$added = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Broader search
|
||||
if(!$added && substr($file, 0, 3) == 'lib')
|
||||
{
|
||||
$apt_provides = self::run_apt_file_provides($file . '.so');
|
||||
if($apt_provides != null)
|
||||
{
|
||||
$packages_needed[$file] = $apt_provides;
|
||||
$added = true;
|
||||
}
|
||||
}
|
||||
if(!$added)
|
||||
{
|
||||
$apt_provides = self::run_apt_file_provides($file);
|
||||
if($apt_provides != null)
|
||||
{
|
||||
$packages_needed[$file] = $apt_provides;
|
||||
$added = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $packages_needed;
|
||||
@@ -83,7 +107,7 @@ class ubuntu_dependency_handler implements pts_dependency_handler
|
||||
|
||||
foreach(explode(PHP_EOL, $apt_output) as $line)
|
||||
{
|
||||
if(($x = strpos($line, ': ')) == false)
|
||||
if(($x = strpos($line, ': ')) == false || strpos($line, 'bash-completion') !== false || strpos($line, 'examples') !== false)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -44,6 +44,10 @@
|
||||
<GenericName>cairo-development</GenericName>
|
||||
<PackageName>cairo</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>openmpi-development</GenericName>
|
||||
<PackageName>openmpi openmpi-dev</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>tiff</GenericName>
|
||||
<PackageName>tiff</PackageName>
|
||||
@@ -62,7 +66,7 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>java</GenericName>
|
||||
<PackageName>java-common</PackageName>
|
||||
<PackageName>java-common openjdk11</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>maven</GenericName>
|
||||
@@ -70,7 +74,7 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>expat</GenericName>
|
||||
<PackageName>expat</PackageName>
|
||||
<PackageName>expat expat-dev</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>portaudio-development</GenericName>
|
||||
@@ -102,7 +106,11 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>zlib-development</GenericName>
|
||||
<PackageName>zlib</PackageName>
|
||||
<PackageName>zlib zlib-dev</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>rust</GenericName>
|
||||
<PackageName>rust cargo</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>jpeg-development</GenericName>
|
||||
@@ -192,6 +200,10 @@
|
||||
<GenericName>subversion</GenericName>
|
||||
<PackageName>subversion</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>jpeg-development</GenericName>
|
||||
<PackageName>libjpeg-turbo-dev</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>git</GenericName>
|
||||
<PackageName>git</PackageName>
|
||||
@@ -212,5 +224,13 @@
|
||||
<GenericName>wine</GenericName>
|
||||
<PackageName>wine</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>clang</GenericName>
|
||||
<PackageName>clang</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>gflags</GenericName>
|
||||
<PackageName>gflags gflags-dev</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -331,5 +331,9 @@
|
||||
<GenericName>gflags</GenericName>
|
||||
<PackageName>gflags</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>google-benchmark</GenericName>
|
||||
<PackageName>benchmark</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -1,363 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet type="text/xsl" href="xsl/pts-exdep-viewer.xsl" ?>
|
||||
<PhoronixTestSuite>
|
||||
<ExternalDependencies>
|
||||
<Information>
|
||||
<Name>CentOS</Name>
|
||||
<Aliases></Aliases>
|
||||
</Information>
|
||||
<Package>
|
||||
<GenericName>common-dependencies</GenericName>
|
||||
<PackageName>unzip bzip2</PackageName>
|
||||
<FileCheck>unzip, bzip2</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>32bit-compatibility</GenericName>
|
||||
<PackageName>glibc.i686 libstdc++.i686 libX11.i686 libXext.i686 libXrandr.i686 libXinerama.i686 mesa-libGL.i686 openal-soft.i686</PackageName>
|
||||
<ArchitectureSpecific>x86_64</ArchitectureSpecific>
|
||||
<FileCheck>/lib/i686, /usr/lib/libstdc++.so.6</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>gtk-development</GenericName>
|
||||
<PackageName>gtk2-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>sdl-development</GenericName>
|
||||
<PackageName>SDL-devel SDL_gfx-devel SDL_image-devel SDL_net-devel SDL_sound-devel SDL_ttf-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>sdl2-development</GenericName>
|
||||
<PackageName>SDL2 SDL2_image SDL2_mixer SDL2_ttf SDL2-devel SDL2_image-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>tiff</GenericName>
|
||||
<PackageName>libtiff-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>glut</GenericName>
|
||||
<PackageName>freeglut-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>nasm</GenericName>
|
||||
<PackageName>nasm</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>expat</GenericName>
|
||||
<PackageName>expat</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>vulkan-development</GenericName>
|
||||
<PackageName>vulkan-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>openssl-development</GenericName>
|
||||
<PackageName>openssl-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>csh</GenericName>
|
||||
<PackageName>tcsh</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>cairo-development</GenericName>
|
||||
<PackageName>cairo-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>libpng-development</GenericName>
|
||||
<PackageName>libpng-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>build-utilities</GenericName>
|
||||
<PackageName>gcc gcc-c++ make autoconf automake patch expat-devel</PackageName>
|
||||
<FileCheck>gcc, c++</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>bison</GenericName>
|
||||
<PackageName>bison</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>flex</GenericName>
|
||||
<PackageName>flex</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>imlib2-development</GenericName>
|
||||
<PackageName>imlib2-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>java</GenericName>
|
||||
<PackageName>java-openjdk</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>maven</GenericName>
|
||||
<PackageName>maven</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>portaudio-development</GenericName>
|
||||
<PackageName>portaudio-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>fortran-compiler</GenericName>
|
||||
<PackageName>gcc-gfortran</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>glew</GenericName>
|
||||
<PackageName>glew-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>freeimage</GenericName>
|
||||
<PackageName>freeimage freeimage-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>scons</GenericName>
|
||||
<PackageName>scons</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>zlib-development</GenericName>
|
||||
<PackageName>zlib-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>jpeg-development</GenericName>
|
||||
<PackageName>libjpeg-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>libaio-development</GenericName>
|
||||
<PackageName>libaio-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>bc</GenericName>
|
||||
<PackageName>bc</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>pcre</GenericName>
|
||||
<PackageName>pcre-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>perl</GenericName>
|
||||
<PackageName>perl perl-SDL</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>xorg-video</GenericName>
|
||||
<PackageName>libXv-devel libXvMC-devel libvdpau-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>libstdcpp5</GenericName>
|
||||
<PackageName>compat-libstdc++-33</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>p7zip</GenericName>
|
||||
<PackageName>p7zip</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>openal-development</GenericName>
|
||||
<PackageName>openal openal-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>vorbis-development</GenericName>
|
||||
<PackageName>taglib-devel libvorbis-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>jam</GenericName>
|
||||
<PackageName>jam</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>qt4-development</GenericName>
|
||||
<PackageName>qt4-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>qt5-development</GenericName>
|
||||
<PackageName>qt5-qtbase-devel qt5-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>autoconf</GenericName>
|
||||
<PackageName>autoconf</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>libtool</GenericName>
|
||||
<PackageName>libtool</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>libevent</GenericName>
|
||||
<PackageName>libevent-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>ncurses-development</GenericName>
|
||||
<PackageName>ncurses-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>popt</GenericName>
|
||||
<PackageName>popt-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>meson</GenericName>
|
||||
<PackageName> </PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>numa-development</GenericName>
|
||||
<PackageName>numactl-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>curl</GenericName>
|
||||
<PackageName>libcurl curl libcurl-devel curl-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>smartmontools</GenericName>
|
||||
<PackageName>smartmontools</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>fftw3-development</GenericName>
|
||||
<PackageName>fftw3-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>blas-development</GenericName>
|
||||
<PackageName>blas</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>lapack-development</GenericName>
|
||||
<PackageName> </PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>cmake</GenericName>
|
||||
<PackageName>cmake</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>boost-development</GenericName>
|
||||
<PackageName>boost-devel boost-thread</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>rust</GenericName>
|
||||
<PackageName>rust cargo</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>bzip2-development</GenericName>
|
||||
<PackageName>bzip2-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>tcl</GenericName>
|
||||
<PackageName>tcl</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>glibc-development</GenericName>
|
||||
<PackageName>glibc-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python</GenericName>
|
||||
<PackageName>python python3 python3-pip</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>atlas-development</GenericName>
|
||||
<PackageName>atlas-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>openmpi-development</GenericName>
|
||||
<PackageName>openmpi-devel openmpi</PackageName>
|
||||
<FileCheck>openmpi/lib/libmpi.so</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>yasm</GenericName>
|
||||
<PackageName> </PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>lib3ds</GenericName>
|
||||
<PackageName>lib3ds-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>gmp-library</GenericName>
|
||||
<PackageName>gmp-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>subversion</GenericName>
|
||||
<PackageName>subversion</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>git</GenericName>
|
||||
<PackageName>git</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>superlu</GenericName>
|
||||
<PackageName>superlu-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>suitesparse</GenericName>
|
||||
<PackageName>suitesparse-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>tinyxml</GenericName>
|
||||
<PackageName>tinyxml-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>opencl</GenericName>
|
||||
<PackageName> </PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>attr</GenericName>
|
||||
<PackageName>attr</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>httpd</GenericName>
|
||||
<PackageName>httpd</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>golang</GenericName>
|
||||
<PackageName>golang</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>redis-server</GenericName>
|
||||
<PackageName>redis</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>opencv</GenericName>
|
||||
<PackageName>opencv-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>perl-digest-md5</GenericName>
|
||||
<PackageName>perl-Digest-MD5</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python-scipy</GenericName>
|
||||
<PackageName>scipy</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python-sklearn</GenericName>
|
||||
<PackageName>python-scikit-learn</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>V8</GenericName>
|
||||
<PackageName>v8</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>ruby</GenericName>
|
||||
<PackageName>ruby</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>wine</GenericName>
|
||||
<PackageName>wine</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>mongodb</GenericName>
|
||||
<PackageName>mongodb</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>node-npm</GenericName>
|
||||
<PackageName>npm</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>hdf5</GenericName>
|
||||
<PackageName>hdf5-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>libxml2</GenericName>
|
||||
<PackageName>libxml2-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>uuid</GenericName>
|
||||
<PackageName>uuid-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>clang</GenericName>
|
||||
<PackageName>clang</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>gflags</GenericName>
|
||||
<PackageName>gflags-devel</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
@@ -240,5 +240,9 @@
|
||||
<GenericName>libxml2</GenericName>
|
||||
<PackageName>libxml2</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>google-benchmark</GenericName>
|
||||
<PackageName>benchmark</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>p7zip</GenericName>
|
||||
<PackageName>p7zip</PackageName>
|
||||
<PackageName>p7zip p7zip-plugins</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>openal-development</GenericName>
|
||||
@@ -241,7 +241,7 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python</GenericName>
|
||||
<PackageName>python python3 python3-pip</PackageName>
|
||||
<PackageName>python python3 python3-pip python3-yaml</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>atlas-development</GenericName>
|
||||
@@ -360,5 +360,9 @@
|
||||
<GenericName>gflags</GenericName>
|
||||
<PackageName>gflags-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>google-benchmark</GenericName>
|
||||
<PackageName>google-benchmark-devel</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -566,5 +566,11 @@
|
||||
<PossibleNames>gflags</PossibleNames>
|
||||
<FileCheck>gflags/gflags.h</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>google-benchmark</GenericName>
|
||||
<Title>Google Benchmark</Title>
|
||||
<PossibleNames>libbenchmark-dev</PossibleNames>
|
||||
<FileCheck>benchmark/benchmark.h</FileCheck>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>java</GenericName>
|
||||
<PackageName>https://github.com/ojdkbuild/ojdkbuild/releases/download/11.0.1-1/java-11-openjdk-11.0.1.13-1.ojdkbuild.windows.x86_64.msi</PackageName>
|
||||
<PackageName>https://github.com/ojdkbuild/ojdkbuild/releases/download/java-11-openjdk-11.0.6.10-1/java-11-openjdk-jre-11.0.6.10-1.windows.ojdkbuild.x86_64.msi</PackageName>
|
||||
<FileCheck>C:\Program Files\ojdkbuild OR C:\Program Files\Java</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>golang</GenericName>
|
||||
<PackageName>https://dl.google.com/go/go1.11.4.windows-amd64.msi</PackageName>
|
||||
<PackageName>https://dl.google.com/go/go1.13.7.windows-amd64.msi</PackageName>
|
||||
<FileCheck>C:\Go</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>perl</GenericName>
|
||||
<PackageName>http://strawberryperl.com/download/5.28.1.1/strawberry-perl-5.28.1.1-64bit.msi</PackageName>
|
||||
<PackageName>http://strawberryperl.com/download/5.30.1.1/strawberry-perl-5.30.1.1-64bit.msi</PackageName>
|
||||
<FileCheck>C:\Strawberry\perl\bin</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
@@ -43,7 +43,7 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>git</GenericName>
|
||||
<PackageName>https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/Git-2.20.1-64-bit.exe</PackageName>
|
||||
<PackageName>https://github.com/git-for-windows/git/releases/download/v2.25.0.windows.1/Git-2.25.0-64-bit.exe</PackageName>
|
||||
<FileCheck>C:\Program Files\Git</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
|
||||
@@ -344,7 +344,11 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>gflags</GenericName>
|
||||
<PackageName>gflags</PackageName>
|
||||
<PackageName>gflags-devel</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>google-benchmark</GenericName>
|
||||
<PackageName>benchmark-devel</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
<Package>
|
||||
<GenericName>perl</GenericName>
|
||||
<PackageName>perl perl-base perl-modules libsdl-perl libperl-dev</PackageName>
|
||||
<FileCheck>perl, /etc/perl/CPAN</FileCheck>
|
||||
<FileCheck>perl, /etc/perl</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>perl-opengl</GenericName>
|
||||
@@ -223,6 +223,7 @@
|
||||
<Package>
|
||||
<GenericName>blas-development</GenericName>
|
||||
<PackageName>libblas-dev libopenblas-base libopenblas-dev</PackageName>
|
||||
<FileCheck>/usr/include/x86_64-linux-gnu/openblas_config.h</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>lapack-development</GenericName>
|
||||
@@ -269,8 +270,8 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python</GenericName>
|
||||
<PackageName>python python-pip python3-pip</PackageName>
|
||||
<FileCheck>pip3, python, python3</FileCheck>
|
||||
<PackageName>python-pip python3-pip python3-yaml</PackageName>
|
||||
<FileCheck>pip3, python3</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python-boost-development</GenericName>
|
||||
@@ -355,13 +356,13 @@
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python-scipy</GenericName>
|
||||
<PackageName>python-scipy</PackageName>
|
||||
<FileCheck>/usr/lib/python2.7/dist-packages/scipy</FileCheck>
|
||||
<PackageName>python3-scipy</PackageName>
|
||||
<FileCheck>/usr/lib/python3/dist-packages/scipy</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>python-sklearn</GenericName>
|
||||
<PackageName>python-sklearn</PackageName>
|
||||
<FileCheck>/usr/lib/python2.7/dist-packages/sklearn/</FileCheck>
|
||||
<PackageName>python3-sklearn</PackageName>
|
||||
<FileCheck>/usr/lib/python3/dist-packages/sklearn/</FileCheck>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>V8</GenericName>
|
||||
@@ -415,5 +416,9 @@
|
||||
<GenericName>gflags</GenericName>
|
||||
<PackageName>libgflags-dev</PackageName>
|
||||
</Package>
|
||||
<Package>
|
||||
<GenericName>google-benchmark</GenericName>
|
||||
<PackageName>libbenchmark-dev</PackageName>
|
||||
</Package>
|
||||
</ExternalDependencies>
|
||||
</PhoronixTestSuite>
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2019, Phoronix Media
|
||||
Copyright (C) 2019, Michael Larabel
|
||||
Copyright (C) 2019 - 2020, Phoronix Media
|
||||
Copyright (C) 2019 - 2020, Michael Larabel
|
||||
toggle_screensaver.php: A module to toggle the screensaver while tests are running on GNOME
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
@@ -151,6 +151,7 @@ class load_dynamic_result_viewer extends pts_module_interface
|
||||
'PTS_VIEWER_ACCESS_KEY' => $access_key,
|
||||
'PTS_VIEWER_RESULT_PATH' => PTS_SAVE_RESULTS_PATH,
|
||||
'PTS_VIEWER_PTS_PATH' => PTS_PATH,
|
||||
'PTS_VIEWER_CONFIG_FILE' => pts_config::get_config_file_location(),
|
||||
);
|
||||
|
||||
self::$process = proc_open(getenv('PHP_BIN') . ' -S ' . $server_ip . ':' . $web_port . ' -t ' . PTS_CORE_PATH . 'static/dynamic-result-viewer/ ', $descriptorspec, self::$pipes, $cwd, $env);
|
||||
|
||||
@@ -91,7 +91,7 @@ class ob_auto_compare extends pts_module_interface
|
||||
}
|
||||
protected static function request_compare_from_local_results($comparison_hash)
|
||||
{
|
||||
$saved_results = pts_client::saved_test_results();
|
||||
$saved_results = pts_results::saved_test_results();
|
||||
shuffle($saved_results);
|
||||
|
||||
foreach($saved_results as $tr)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2009 - 2018, Phoronix Media
|
||||
Copyright (C) 2009 - 2018, Michael Larabel
|
||||
Copyright (C) 2009 - 2020, Phoronix Media
|
||||
Copyright (C) 2009 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -696,7 +696,7 @@ class phoromatic extends pts_module_interface
|
||||
//pts_client::$pts_logger->log('DEBUG RESPONSE MESSAGE: ' . $server_response);
|
||||
if(!pts_strings::string_bool($json['phoromatic']['settings']['ArchiveResultsLocally']))
|
||||
{
|
||||
pts_client::remove_saved_result_file(self::$test_run_manager->get_file_name());
|
||||
pts_results::remove_saved_result_file(self::$test_run_manager->get_file_name());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ class pts_argument_check
|
||||
{
|
||||
$type = 'OpenBenchmarking ID';
|
||||
}
|
||||
else if($this->get_function_check() == array('pts_result_file', 'is_test_result_file'))
|
||||
else if($this->get_function_check() == array('pts_results', 'is_saved_result_file'))
|
||||
{
|
||||
$type = 'Test Result';
|
||||
}
|
||||
@@ -114,11 +114,11 @@ class pts_argument_check
|
||||
|
||||
if($this->get_function_check() == array('pts_types', 'is_result_file'))
|
||||
{
|
||||
$possible_values = pts_client::saved_test_results();
|
||||
$possible_values = pts_results::saved_test_results();
|
||||
}
|
||||
else if($this->get_function_check() == array('pts_types', 'identifier_to_object'))
|
||||
{
|
||||
$possible_values = array_merge(self::available_tests(), pts_client::saved_test_results(), pts_tests::all_suites(), array_keys(pts_openbenchmarking::result_uploads_from_this_ip()));
|
||||
$possible_values = array_merge(self::available_tests(), pts_results::saved_test_results(), pts_tests::all_suites(), array_keys(pts_openbenchmarking::result_uploads_from_this_ip()));
|
||||
}
|
||||
else if($this->get_function_check() == array('pts_types', 'is_test_or_suite'))
|
||||
{
|
||||
@@ -136,9 +136,9 @@ class pts_argument_check
|
||||
{
|
||||
$possible_values = array_keys(pts_openbenchmarking::result_uploads_from_this_ip());
|
||||
}
|
||||
else if($this->get_function_check() == array('pts_result_file', 'is_test_result_file'))
|
||||
else if($this->get_function_check() == array('pts_results', 'is_saved_result_file'))
|
||||
{
|
||||
$possible_values = pts_client::saved_test_results();
|
||||
$possible_values = pts_results::saved_test_results();
|
||||
}
|
||||
else if($this->get_function_check() == array('pts_module', 'is_module'))
|
||||
{
|
||||
|
||||
@@ -24,19 +24,19 @@ class pts_client
|
||||
{
|
||||
public static $display = false;
|
||||
public static $pts_logger = false;
|
||||
private static $current_command = null;
|
||||
protected static $lock_pointers = null;
|
||||
private static $forked_pids = array();
|
||||
protected static $phoromatic_servers = array();
|
||||
protected static $debug_mode = false;
|
||||
protected static $full_output = false;
|
||||
protected static $override_pts_env_vars = array();
|
||||
protected static $sent_command = null;
|
||||
public static $web_result_viewer_active = false;
|
||||
public static $has_used_modern_result_viewer = false;
|
||||
public static $last_browser_launch_time = 0;
|
||||
public static $last_browser_duration = 0;
|
||||
public static $last_result_view_url = null;
|
||||
protected static $lock_pointers = null;
|
||||
protected static $phoromatic_servers = array();
|
||||
protected static $debug_mode = false;
|
||||
protected static $full_output = false;
|
||||
protected static $override_pts_env_vars = array();
|
||||
protected static $sent_command = null;
|
||||
private static $current_command = null;
|
||||
private static $forked_pids = array();
|
||||
|
||||
public static function create_lock($lock_file)
|
||||
{
|
||||
@@ -128,14 +128,14 @@ class pts_client
|
||||
}
|
||||
|
||||
self::core_storage_init_process();
|
||||
$p = pts_strings::parse_for_home_directory(pts_config::read_user_config('PhoronixTestSuite/Options/Installation/EnvironmentDirectory', '~/.phoronix-test-suite/installed-tests/'));
|
||||
$p = pts_config::read_path_config('PhoronixTestSuite/Options/Installation/EnvironmentDirectory', '~/.phoronix-test-suite/installed-tests/');
|
||||
if(phodevi::is_windows())
|
||||
{
|
||||
$p = str_replace('/', DIRECTORY_SEPARATOR, $p);
|
||||
}
|
||||
pts_define('PTS_TEST_INSTALL_DEFAULT_PATH', $p);
|
||||
|
||||
pts_define('PTS_SAVE_RESULTS_PATH', pts_strings::parse_for_home_directory(pts_config::read_user_config('PhoronixTestSuite/Options/Testing/ResultsDirectory', '~/.phoronix-test-suite/test-results/')));
|
||||
pts_define('PTS_SAVE_RESULTS_PATH', pts_config::read_path_config('PhoronixTestSuite/Options/Testing/ResultsDirectory', '~/.phoronix-test-suite/test-results/'));
|
||||
self::extended_init_process();
|
||||
|
||||
$openbenchmarking = pts_storage_object::read_from_file(PTS_CORE_STORAGE, 'openbenchmarking');
|
||||
@@ -369,7 +369,7 @@ class pts_client
|
||||
{
|
||||
if(!defined('PTS_TEST_INSTALL_DEFAULT_PATH'))
|
||||
{
|
||||
$p = pts_strings::parse_for_home_directory(pts_config::read_user_config('PhoronixTestSuite/Options/Installation/EnvironmentDirectory', '~/.phoronix-test-suite/installed-tests/'));
|
||||
$p = pts_config::read_path_config('PhoronixTestSuite/Options/Installation/EnvironmentDirectory', '~/.phoronix-test-suite/installed-tests/');
|
||||
if(phodevi::is_windows())
|
||||
{
|
||||
$p = str_replace('/', DIRECTORY_SEPARATOR, $p);
|
||||
@@ -383,7 +383,7 @@ class pts_client
|
||||
}
|
||||
public static function download_cache_path()
|
||||
{
|
||||
return pts_strings::add_trailing_slash(pts_strings::parse_for_home_directory(pts_config::read_user_config('PhoronixTestSuite/Options/Installation/CacheDirectory', PTS_DOWNLOAD_CACHE_PATH)));
|
||||
return pts_strings::add_trailing_slash(pts_config::read_path_config('PhoronixTestSuite/Options/Installation/CacheDirectory', PTS_DOWNLOAD_CACHE_PATH));
|
||||
}
|
||||
public static function user_run_save_variables()
|
||||
{
|
||||
@@ -1779,6 +1779,7 @@ class pts_client
|
||||
{
|
||||
$possible_paths_to_add = array('C:\Users\\' . getenv('USERNAME') . '\AppData\Local\Programs\Python\Python36-32',
|
||||
'C:\Users\\' . getenv('USERNAME') . '\AppData\Local\Programs\Python\Python37',
|
||||
'C:\Users\\' . getenv('USERNAME') . '\AppData\Local\Programs\Python\Python38',
|
||||
'C:\Python27',
|
||||
'C:\Go\bin',
|
||||
'C:\Strawberry\perl\bin',
|
||||
@@ -2018,27 +2019,6 @@ class pts_client
|
||||
{
|
||||
phodevi::system_software(true);
|
||||
}
|
||||
public static function remove_saved_result_file($identifier)
|
||||
{
|
||||
pts_file_io::delete(PTS_SAVE_RESULTS_PATH . $identifier, null, true);
|
||||
}
|
||||
public static function saved_test_results()
|
||||
{
|
||||
$results = array();
|
||||
$ignore_ids = array();
|
||||
|
||||
foreach(pts_file_io::glob(PTS_SAVE_RESULTS_PATH . '*/composite.xml') as $result_file)
|
||||
{
|
||||
$identifier = basename(dirname($result_file));
|
||||
|
||||
if(!in_array($identifier, $ignore_ids))
|
||||
{
|
||||
$results[] = $identifier;
|
||||
}
|
||||
}
|
||||
|
||||
return $results;
|
||||
}
|
||||
public static function timed_function($function, $function_parameters, $time, $continue_while_true_function = null, $continue_while_true_function_parameters)
|
||||
{
|
||||
if(($time < 0.5 && $time != -1) || $time > 300)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2008 - 2019, Phoronix Media
|
||||
Copyright (C) 2008 - 2019, Michael Larabel
|
||||
Copyright (C) 2008 - 2020, Phoronix Media
|
||||
Copyright (C) 2008 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -30,6 +30,7 @@ class pts_config
|
||||
{
|
||||
static $init_process_ran = false;
|
||||
static $xml_user_config = null;
|
||||
private static $override_config_file_location = false;
|
||||
|
||||
public static function get_config_file_location()
|
||||
{
|
||||
@@ -84,11 +85,19 @@ class pts_config
|
||||
pts_graph_core::init_graph_config($json_graph);
|
||||
file_put_contents(PTS_USER_PATH . 'graph-config.json', pts_arrays::json_encode_pretty_string($json_graph));
|
||||
}
|
||||
public static function set_override_default_config($config_file)
|
||||
{
|
||||
self::$override_config_file_location = $config_file;
|
||||
}
|
||||
public static function get_override_default_config()
|
||||
{
|
||||
return self::$override_config_file_location;
|
||||
}
|
||||
public static function user_config_generate($new_config_values = null)
|
||||
{
|
||||
// Validate the config files, update them (or write them) if needed, and other configuration file tasks
|
||||
|
||||
$read_config = new pts_config_nye_XmlReader($new_config_values);
|
||||
$read_config = new pts_config_nye_XmlReader($new_config_values, self::get_override_default_config());
|
||||
$config = new nye_XmlWriter('xsl/pts-user-config-viewer.xsl');
|
||||
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/OpenBenchmarking/AnonymousUsageReporting', $read_config);
|
||||
@@ -131,6 +140,8 @@ class pts_config
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/ResultViewer/WebPort', $read_config);
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/ResultViewer/LimitAccessToLocalHost', $read_config);
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/ResultViewer/AccessKey', $read_config);
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/ResultViewer/AllowSavingResultChanges', $read_config);
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/ResultViewer/AllowDeletingResults', $read_config);
|
||||
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/BatchMode/SaveResults', $read_config);
|
||||
$config->addXmlNodeFromReader('PhoronixTestSuite/Options/BatchMode/OpenBrowser', $read_config);
|
||||
@@ -178,7 +189,7 @@ class pts_config
|
||||
{
|
||||
if(self::$xml_user_config == null)
|
||||
{
|
||||
self::$xml_user_config = new pts_config_nye_XmlReader();
|
||||
self::$xml_user_config = new pts_config_nye_XmlReader(null, self::get_override_default_config());
|
||||
}
|
||||
|
||||
$read_value = self::$xml_user_config->getXmlValue($xml_pointer);
|
||||
@@ -196,6 +207,11 @@ class pts_config
|
||||
$value = self::read_user_config($xml_pointer, $predefined_value, $nye_xml);
|
||||
return pts_strings::string_bool($value);
|
||||
}
|
||||
public static function read_path_config($xml_pointer, $predefined_value = false, &$nye_xml = null)
|
||||
{
|
||||
$read_value = self::read_user_config($xml_pointer, $predefined_value, $nye_xml);
|
||||
return pts_strings::parse_for_home_directory($read_value);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -130,7 +130,7 @@ class pts_module_option
|
||||
}
|
||||
break;
|
||||
case 'PTS_TEST_RESULT':
|
||||
if(pts_result_file::is_test_result_file($input))
|
||||
if(pts_results::is_saved_result_file($input))
|
||||
{
|
||||
$supported = true;
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2010 - 2019, Phoronix Media
|
||||
Copyright (C) 2010 - 2019, Michael Larabel
|
||||
Copyright (C) 2010 - 2020, Phoronix Media
|
||||
Copyright (C) 2010 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -530,7 +530,7 @@ class pts_test_installer
|
||||
}
|
||||
if(!pts_client::executable_in_path('python3'))
|
||||
{
|
||||
$compilers['PY3'] = array('python3.7', 'python3.6', 'python3.5', 'python3.4');
|
||||
$compilers['PY3'] = array('python3.8', 'python3.7', 'python3.6', 'python3.5', 'python3.4');
|
||||
}
|
||||
|
||||
if(empty($compilers))
|
||||
@@ -660,6 +660,14 @@ class pts_test_installer
|
||||
$test_install_request->special_environment_vars['PATH'] = $mask_dir;
|
||||
}
|
||||
|
||||
// Additional workarounds
|
||||
|
||||
if(pts_client::executable_in_path('7z') == false && ($path_7za = pts_client::executable_in_path('7za')) != false)
|
||||
{
|
||||
// This should fix Fedora/RHEL providing 7za but not 7z even though for tests just extracting files this workaround should be fine
|
||||
symlink($path_7za, $mask_dir . '7z');
|
||||
}
|
||||
|
||||
return $mask_dir;
|
||||
}
|
||||
|
||||
@@ -869,6 +877,24 @@ class pts_test_installer
|
||||
if($test_install_request->install_error != null)
|
||||
{
|
||||
self::test_install_error(null, $test_install_request, 'ERROR: ' . $test_install_request->install_error);
|
||||
$reverse_dep_look_for_files = pts_tests::scan_for_file_missing_from_error($test_install_request->install_error);
|
||||
|
||||
if($reverse_dep_look_for_files)
|
||||
{
|
||||
foreach($reverse_dep_look_for_files as $file)
|
||||
{
|
||||
$lib_provided_by = pts_external_dependencies::packages_that_provide($file);
|
||||
if($lib_provided_by)
|
||||
{
|
||||
if(is_array($lib_provided_by))
|
||||
{
|
||||
$lib_provided_by = array_shift($lib_provided_by);
|
||||
}
|
||||
self::test_install_error(null, $test_install_request, pts_client::cli_just_italic('Installing the package \'' . $lib_provided_by . '\' might fix this error.'));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pts_client::$display->test_install_error('LOG: ' . str_replace(pts_core::user_home_directory(), '~/', $test_install_directory) . 'install-failed.log' . PHP_EOL);
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2008 - 2019, Phoronix Media
|
||||
Copyright (C) 2008 - 2019, Michael Larabel
|
||||
Copyright (C) 2008 - 2020, Phoronix Media
|
||||
Copyright (C) 2008 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -87,30 +87,47 @@ class pts_tests
|
||||
{
|
||||
$error = null;
|
||||
|
||||
foreach(array('fatal error', 'error:', 'error while loading', 'undefined reference', ': cannot find -l', 'returned 1 exit status', 'not found', 'child process excited with status', 'error opening archive', 'failed to load', 'fatal', 'illegal argument') as $error_string)
|
||||
foreach(array('fatal error', 'error while loading', 'undefined reference', 'cannot find -l', 'error:', 'returned 1 exit status', 'not found', 'child process excited with status', 'error opening archive', 'failed to load', 'fatal', 'illegal argument', 'is required to build') as $error_string)
|
||||
{
|
||||
if(($e = strripos($log_file, $error_string)) !== false)
|
||||
$lf = $log_file;
|
||||
if(($e = strripos($lf, $error_string)) !== false)
|
||||
{
|
||||
if(($line_end = strpos($log_file, PHP_EOL, $e)) !== false)
|
||||
if(($line_end = strpos($lf, PHP_EOL, $e)) !== false)
|
||||
{
|
||||
$log_file = substr($log_file, 0, $line_end);
|
||||
$lf = substr($lf, 0, $line_end);
|
||||
}
|
||||
|
||||
if(($line_start_e = strrpos($log_file, PHP_EOL)) !== false)
|
||||
if(($line_start_e = strrpos($lf, PHP_EOL)) !== false)
|
||||
{
|
||||
$log_file = substr($log_file, ($line_start_e + 1));
|
||||
$lf = substr($lf, ($line_start_e + 1));
|
||||
}
|
||||
|
||||
$log_file = str_replace(array(PTS_TEST_PROFILE_PATH, $strip_string), null, $log_file);
|
||||
$lf = str_replace(array(PTS_TEST_PROFILE_PATH, $strip_string), null, $lf);
|
||||
|
||||
if(isset($log_file[8]) && !isset($log_file[144]) && strpos($log_file, PHP_EOL) === false)
|
||||
if(isset($lf[8]) && substr($lf, -7) == 'error: ')
|
||||
{
|
||||
$error = $log_file;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(isset($lf[8]) && !isset($lf[144]) && strpos($lf, PHP_EOL) === false)
|
||||
{
|
||||
$error = $lf;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($error == null)
|
||||
{
|
||||
foreach(explode(PHP_EOL, $log_file) as $log_line)
|
||||
{
|
||||
if((stripos($log_line, 'checking ') !== false || stripos($log_line, 'looking for ') !== false) && stripos($log_line, 'missing') !== false)
|
||||
{
|
||||
$error = trim($log_line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($error == null && ($s = strrpos($log_file, PHP_EOL)) !== false && stripos($log_file, 'found', $s) !== false && stripos($log_file, 'no', ($s - 1)) !== false)
|
||||
{
|
||||
// See if the last line of the log is e.g. 'No OpenCL Environment Found', 'FFFFF Not Found', Etc
|
||||
@@ -160,6 +177,75 @@ class pts_tests
|
||||
|
||||
return trim($error);
|
||||
}
|
||||
public static function scan_for_file_missing_from_error($error)
|
||||
{
|
||||
$reverse_dep_look_for_files = array();
|
||||
if(($e = strpos($error, 'cannot find -l')) !== false)
|
||||
{
|
||||
// Missing library
|
||||
$lib_needed = trim(substr($error, $e + strlen('cannot find -l')));
|
||||
|
||||
if($lib_needed)
|
||||
{
|
||||
$reverse_dep_look_for_files = array('lib' . $lib_needed . '.so', $lib_needed);
|
||||
}
|
||||
}
|
||||
else if(($e = stripos($error, 'Missing Header File:')) !== false)
|
||||
{
|
||||
// Missing library
|
||||
$lib_needed = trim(substr($error, $e + strlen('Missing Header File:')));
|
||||
|
||||
if($lib_needed)
|
||||
{
|
||||
$reverse_dep_look_for_files[] = $lib_needed;
|
||||
}
|
||||
}
|
||||
else if(($e = stripos($error, ' for ')) !== false && ($ex = stripos($error, ' not found')) !== false)
|
||||
{
|
||||
// Missing library
|
||||
$lib_needed = trim(substr($error, 0, $e));
|
||||
|
||||
if($lib_needed)
|
||||
{
|
||||
$reverse_dep_look_for_files[] = $lib_needed;
|
||||
}
|
||||
}
|
||||
else if(($e = stripos($error, ': Command not found')) !== false)
|
||||
{
|
||||
// Missing library
|
||||
$lib_needed = ' ' . substr($error, 0, $e);
|
||||
$lib_needed = trim(substr($lib_needed, strrpos($lib_needed, ' ') + 1));
|
||||
|
||||
if($lib_needed)
|
||||
{
|
||||
$reverse_dep_look_for_files[] = $lib_needed;
|
||||
}
|
||||
}
|
||||
else if(stripos($error, 'fatal error') !== false && ($e = stripos($error, ': No such file or directory')) !== false)
|
||||
{
|
||||
// Missing library
|
||||
$lib_needed = ' ' . substr($error, 0, $e);
|
||||
$lib_needed = trim(substr($lib_needed, strrpos($lib_needed, ' ') + 1));
|
||||
|
||||
if($lib_needed)
|
||||
{
|
||||
$reverse_dep_look_for_files[] = $lib_needed;
|
||||
}
|
||||
}
|
||||
else if(($e = stripos($error, ' is required')) !== false)
|
||||
{
|
||||
// Missing library
|
||||
$lib_needed = ' ' . substr($error, 0, $e);
|
||||
$lib_needed = trim(substr($lib_needed, strrpos($lib_needed, ' ') + 1));
|
||||
|
||||
if($lib_needed)
|
||||
{
|
||||
$reverse_dep_look_for_files[] = $lib_needed;
|
||||
}
|
||||
}
|
||||
|
||||
return $reverse_dep_look_for_files;
|
||||
}
|
||||
public static function extra_environmental_variables(&$test_profile)
|
||||
{
|
||||
$extra_vars = array();
|
||||
@@ -477,7 +563,7 @@ class pts_tests
|
||||
}
|
||||
}
|
||||
|
||||
foreach(pts_client::saved_test_results() as $result)
|
||||
foreach(pts_results::saved_test_results() as $result)
|
||||
{
|
||||
if(soundex($result) == $arg_soundex || (isset($passed_arg[3]) && strpos($identifier, $arg_save_identifier_like) !== false))
|
||||
{
|
||||
|
||||
@@ -24,9 +24,13 @@ class pts_config_nye_XmlReader extends nye_XmlReader
|
||||
{
|
||||
protected $override_values;
|
||||
|
||||
public function __construct($new_values = null)
|
||||
public function __construct($new_values = null, $override_file = false)
|
||||
{
|
||||
if(PTS_IS_DAEMONIZED_SERVER_PROCESS || (is_file('/etc/phoronix-test-suite.xml') && is_writable('/etc/phoronix-test-suite.xml')))
|
||||
if($override_file && is_file($override_file))
|
||||
{
|
||||
$file = $override_file;
|
||||
}
|
||||
else if(PTS_IS_DAEMONIZED_SERVER_PROCESS || (is_file('/etc/phoronix-test-suite.xml') && is_writable('/etc/phoronix-test-suite.xml')))
|
||||
{
|
||||
$file = '/etc/phoronix-test-suite.xml';
|
||||
}
|
||||
|
||||
@@ -221,7 +221,7 @@ class phodevi_disk extends phodevi_device_interface
|
||||
{
|
||||
$disks = array();
|
||||
|
||||
foreach(array_merge(pts_file_io::glob('/sys/block/nvme*'), pts_file_io::glob('/sys/block/sd*'), pts_file_io::glob('/sys/block/mmcblk*'), pts_file_io::glob('/sys/block/vd*')) as $sdx)
|
||||
foreach(array_merge(pts_file_io::glob('/sys/block/nvme*'), pts_file_io::glob('/sys/block/pmem*'), pts_file_io::glob('/sys/block/sd*'), pts_file_io::glob('/sys/block/mmcblk*'), pts_file_io::glob('/sys/block/vd*')) as $sdx)
|
||||
{
|
||||
if(strpos($sdx, 'boot') !== false)
|
||||
{
|
||||
|
||||
@@ -236,11 +236,24 @@ class phodevi_memory extends phodevi_device_interface
|
||||
|
||||
if(empty($mem_string))
|
||||
{
|
||||
$mem_string = phodevi::read_property('memory', 'capacity');
|
||||
$ram_in_mb = phodevi::read_property('memory', 'capacity');
|
||||
|
||||
if($mem_string != null)
|
||||
if($ram_in_mb != null)
|
||||
{
|
||||
$mem_string .= 'MB';
|
||||
$mem_string = $ram_in_mb . 'MB';
|
||||
|
||||
if($ram_in_mb > 5000)
|
||||
{
|
||||
$ram_in_gb = ceil($ram_in_mb / 1024);
|
||||
if($ram_in_gb % 2 == 1)
|
||||
{
|
||||
$ram_in_gb++;
|
||||
}
|
||||
if($ram_in_gb >= 6)
|
||||
{
|
||||
$mem_string = $ram_in_gb . 'GB';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2009 - 2019, Phoronix Media
|
||||
Copyright (C) 2009 - 2019, Michael Larabel
|
||||
Copyright (C) 2009 - 2020, Phoronix Media
|
||||
Copyright (C) 2009 - 2020, Michael Larabel
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -115,6 +115,12 @@ class hdd_temp extends phodevi_sensor
|
||||
if($temp == -1)
|
||||
{
|
||||
$temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/temp*_input', 'POSITIVE_NUMERIC', array('name' => 'nvme'));
|
||||
|
||||
if($temp == null)
|
||||
{
|
||||
$temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/temp*_input', 'POSITIVE_NUMERIC', array('name' => 'drivetemp'));
|
||||
}
|
||||
|
||||
if($temp > 1000)
|
||||
{
|
||||
$temp = round($temp / 1000, 2);
|
||||
|
||||
@@ -41,7 +41,7 @@ class phoromatic_server
|
||||
}
|
||||
public static function phoromatic_path()
|
||||
{
|
||||
$PHOROMATIC_PATH = pts_strings::parse_for_home_directory(pts_config::read_user_config('PhoronixTestSuite/Options/Server/PhoromaticStorage', ''));
|
||||
$PHOROMATIC_PATH = pts_config::read_path_config('PhoronixTestSuite/Options/Server/PhoromaticStorage', '');
|
||||
|
||||
if(empty($PHOROMATIC_PATH) || ((is_dir($PHOROMATIC_PATH) && !is_writable($PHOROMATIC_PATH)) || !is_writable(dirname($PHOROMATIC_PATH))))
|
||||
{
|
||||
|
||||
@@ -785,7 +785,7 @@ abstract class pts_graph_core
|
||||
switch($this->i['graph_proportion'])
|
||||
{
|
||||
case 'LIB':
|
||||
$proportion = 'Less Is Better';
|
||||
$proportion = 'Fewer Is Better';
|
||||
$offset += 12;
|
||||
|
||||
if($this->i['graph_orientation'] == 'HORIZONTAL')
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/*
|
||||
Phoronix Test Suite
|
||||
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
|
||||
Copyright (C) 2008 - 2018, Phoronix Media
|
||||
Copyright (C) 2008 - 2018, Michael Larabel
|
||||
Copyright (C) 2008 - 2019, Phoronix Media
|
||||
Copyright (C) 2008 - 2019, Michael Larabel
|
||||
pts_PassFailGraph.php: An abstract graph object extending pts_Graph for showing results in a pass/fail scenario.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
@@ -60,7 +60,11 @@ class pts_graph_passfail extends pts_graph_core
|
||||
$identifiers_total_width = $graph_width - $main_width - 2;
|
||||
|
||||
$headings = pts_strings::comma_explode($this->i['graph_y_title']);
|
||||
$identifiers_width = floor($identifiers_total_width / (count($headings) != 0 ? count($headings) : 1));
|
||||
if(empty($headings))
|
||||
{
|
||||
$headings = array(' ');
|
||||
}
|
||||
$identifiers_width = floor($identifiers_total_width / count($headings));
|
||||
$headings_font_size = self::$c['size']['bars'];
|
||||
while(($this->text_string_width(pts_strings::find_longest_string($headings), $headings_font_size) > ($identifiers_width - 2)) || $this->text_string_height($this->i['graph_max_value'], $headings_font_size) > ($line_height - 4))
|
||||
{
|
||||
@@ -100,7 +104,7 @@ class pts_graph_passfail extends pts_graph_core
|
||||
$line_ttf_height = $this->text_string_height('AZ@![]()@|_', $headings_font_size);
|
||||
for($i = 0; $i < count($headings); $i++)
|
||||
{
|
||||
$this->svg_dom->draw_svg_line($this->i['graph_left_end'] - $horizontal_border - (($i + 1) * $identifiers_width), $this->i['top_start'] + $vertical_border, $this->i['graph_left_end'] - $horizontal_border - (($i + 1) * $identifiers_width), $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
//$this->svg_dom->draw_svg_line($this->i['graph_left_end'] - $horizontal_border - (($i + 1) * $identifiers_width), $this->i['top_start'] + $vertical_border, $this->i['graph_left_end'] - $horizontal_border - (($i + 1) * $identifiers_width), $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
$x = $this->i['graph_left_end'] - $horizontal_border - ($i * $identifiers_width) - (0.5 * $identifiers_width);
|
||||
$y = $this->i['top_start'] + $vertical_border + ($heading_height / 2) - ($line_ttf_height / 2);
|
||||
$this->svg_dom->add_text_element($headings[$i], array('x' => $x, 'y' => $y, 'font-size' => $headings_font_size, 'fill' => self::$c['color']['headers'], 'text-anchor' => 'middle', 'dominant-baseline' => 'text-before-edge'));
|
||||
@@ -109,17 +113,17 @@ class pts_graph_passfail extends pts_graph_core
|
||||
$line_ttf_height = $this->text_string_height('AZ@![]()@|_', $main_font_size);
|
||||
for($i = 0; $i < $this->test_result->test_result_buffer->get_count(); $i++)
|
||||
{
|
||||
$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['top_start'] + $vertical_border + ($i * $line_height) + $heading_height, $this->i['graph_left_end'] - $horizontal_border, $this->i['top_start'] + $vertical_border + ($i * $line_height) + $heading_height, self::$c['color']['body_light']);
|
||||
//$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['top_start'] + $vertical_border + ($i * $line_height) + $heading_height, $this->i['graph_left_end'] - $horizontal_border, $this->i['top_start'] + $vertical_border + ($i * $line_height) + $heading_height, self::$c['color']['body_light']);
|
||||
|
||||
$x = $this->i['left_start'] + $horizontal_border + $main_width;
|
||||
$y = $this->i['top_start'] + $vertical_border + ($i * $line_height) + $heading_height + ($line_height / 2) - 2;
|
||||
$this->svg_dom->add_text_element($this->test_result->test_result_buffer->buffer_items[$i]->get_result_identifier(), array('x' => $x, 'y' => $y, 'font-size' => $main_font_size, 'fill' => self::$c['color']['headers'], 'text-anchor' => 'end', 'dominant-baseline' => 'middle'));
|
||||
$this->svg_dom->add_text_element($this->test_result->test_result_buffer->buffer_items[$i]->get_result_identifier(), array('x' => $x, 'y' => $y, 'font-size' => $main_font_size, 'fill' => self::$c['color']['headers'], 'text-anchor' => 'end', 'dominant-baseline' => 'middle', 'font-weight' => 'bold'));
|
||||
}
|
||||
|
||||
$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['top_start'] + $vertical_border, $this->i['graph_left_end'] - $horizontal_border, $this->i['top_start'] + $vertical_border, self::$c['color']['body_light']);
|
||||
$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['top_start'] + $vertical_border, $this->i['left_start'] + $horizontal_border, $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
$this->svg_dom->draw_svg_line($this->i['graph_left_end'] - $horizontal_border, $this->i['top_start'] + $vertical_border, $this->i['graph_left_end'] - $horizontal_border, $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['graph_top_end'] - $vertical_border, $this->i['graph_left_end'] - $horizontal_border, $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
//$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['top_start'] + $vertical_border, $this->i['graph_left_end'] - $horizontal_border, $this->i['top_start'] + $vertical_border, self::$c['color']['body_light']);
|
||||
//$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['top_start'] + $vertical_border, $this->i['left_start'] + $horizontal_border, $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
//$this->svg_dom->draw_svg_line($this->i['graph_left_end'] - $horizontal_border, $this->i['top_start'] + $vertical_border, $this->i['graph_left_end'] - $horizontal_border, $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
//$this->svg_dom->draw_svg_line($this->i['left_start'] + $horizontal_border, $this->i['graph_top_end'] - $vertical_border, $this->i['graph_left_end'] - $horizontal_border, $this->i['graph_top_end'] - $vertical_border, self::$c['color']['body_light']);
|
||||
}
|
||||
protected function render_graph_result()
|
||||
{
|
||||
|
||||
@@ -249,7 +249,7 @@ class pts_graph_radar_chart extends pts_graph_core
|
||||
$v_offset = $y_txt < $center_y && !empty($desc) ? -5 : 0;
|
||||
$rotate = $ro_count > 14 ? array('transform' => 'rotate(' . ($deg > 90 && $deg < 270 ? $deg + 180 : $deg) . ' ' . $x_txt . ' ' . $y_txt . ')') : array();
|
||||
$this->svg_dom->add_text_element($r['ro']->test_profile->get_title(), array_merge(array('x' => $x_txt, 'y' => $y_txt + $v_offset, 'text-anchor' => $text_anchor), $rotate), $g_txt_tests);
|
||||
if($desc)
|
||||
if($desc && $desc != 'Geometric Mean' && $desc != 'D.G.M')
|
||||
{
|
||||
$this->svg_dom->add_text_element($desc, array_merge(array('x' => $x_txt, 'y' => $y_txt + 10, 'text-anchor' => $text_anchor), $rotate), $g_txt_desc);
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ class pts_graph_vertical_bars extends pts_graph_core
|
||||
if($this->i['is_multi_way_comparison'])
|
||||
$i = $this->calc_offset($id_offsets, $buffer_item->get_result_identifier());
|
||||
else
|
||||
$i = $this->calc_offset($id_offsets, $buffer_item->get_result_identifier() . ' ' . $value);
|
||||
$i = $this->calc_offset($id_offsets, $buffer_item->get_result_identifier() . ' ' . (isset($value) ? $value : ''));
|
||||
$value = $buffer_item->get_result_value();
|
||||
$graph_size = round(($value / $this->i['graph_max_value']) * ($this->i['graph_top_end'] - $this->i['top_start']));
|
||||
$value_plot_top = max($this->i['graph_top_end'] + 1 - $graph_size, 1);
|
||||
@@ -159,6 +159,12 @@ class pts_graph_vertical_bars extends pts_graph_core
|
||||
$x = $px_bound_left + (($px_bound_right - $px_bound_left) / 2);
|
||||
$this->svg_dom->add_text_element($value, array('x' => $x, 'y' => ($value_plot_top + 2), 'font-size' => floor(self::$c['size']['bars'] * $bar_font_size_ratio), 'fill' => self::$c['color']['body_text'], 'text-anchor' => 'middle', 'dominant-baseline' => 'text-before-edge'));
|
||||
}
|
||||
else if($bar_width >= self::$c['size']['bars'])
|
||||
{
|
||||
$x = $px_bound_left + (($px_bound_right - $px_bound_left) / 2);
|
||||
$this->svg_dom->add_text_element($value, array('x' => $x, 'y' => ($value_plot_top + 2), 'font-size' => floor(self::$c['size']['bars']), 'fill' => self::$c['color']['body_text'], 'text-anchor' => 'start', 'dominant-baseline' => 'middle', 'transform' => 'rotate(90 ' . $x . ' ' . ($value_plot_top + 2) . ')'));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,8 @@ class pts_file_io
|
||||
{
|
||||
rmdir($object);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
public static function array_filesize($r)
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user