Compare commits

...

36 Commits

Author SHA1 Message Date
Michael Larabel
1adcaa0e1e Update for PTS 9.2 M1 2019-10-17 05:36:57 -05:00
Michael Larabel
e88ee94720 Cleanup help text 2019-10-15 19:34:11 -05:00
Michael Larabel
ef33502369 pts-core: Fix macOS check to something similar to avoid sh/bash isms 2019-10-15 18:25:35 -05:00
Michael Larabel
25b3a2b20a 9.2 m1 approaching 2019-10-15 18:19:53 -05:00
Michael Larabel
e8f7af5d5b phodevi: macOS monitor reporting fix 2019-10-15 13:44:01 -05:00
Michael Larabel
a9b1a7a750 pts-core: Fix for macOS 2019-10-15 13:38:20 -05:00
Michael Larabel
c1c84e3a51 phodevi: Avoid Mesa prepended to string on GPU when using Iris driver 2019-10-15 10:00:29 -05:00
Michael Larabel
9d0d70b36f phodevi: Avoid Mesa prepended to string on GPU when using Iris driver 2019-10-15 09:57:04 -05:00
Michael Larabel
5b6b81e6a4 Update some Windows dependencies 2019-10-11 12:13:11 -05:00
Michael Larabel
6882d840b7 ob_auto_compare: Shorten component strings on narrow terminals 2019-10-09 18:31:51 -05:00
Michael Larabel
c7bf55e51e pts-core: Minor tweak 2019-10-09 16:42:37 -05:00
Michael Larabel
bc1e97d16a Add gflags as possible external dependency 2019-10-08 17:22:14 -05:00
Michael Larabel
e44699a53b Add Clang as possible external dependency 2019-10-07 19:44:12 -05:00
Michael Larabel
5fdbb259ec Add uuid as possible external dependency 2019-10-07 19:05:00 -05:00
Michael Larabel
8ffdd5f9b7 Add tclsh to tcl ex dep 2019-10-07 17:31:00 -05:00
Michael Larabel
4b85795af8 small tweaks 2019-10-06 07:37:36 -05:00
phoronix
fd7242cf1d pts-core: Add CentOS packages for ones not found in Fedora 2019-10-01 14:03:05 -04:00
Michael Larabel
bec2ec8abf Phoronix Test Suite 9.0.1 2019-10-01 05:17:06 -05:00
Michael Larabel
0b23ae45ca ob_auto_compare: string cleanup 2019-09-30 13:36:56 -05:00
Michael Larabel
26d943ad3f phoronix-test-suite: Use older method of setting PTS_DIR in launcher script 2019-09-30 10:37:22 -05:00
Michael Larabel
a5af2546ed pts-core: Cleanup 2019-09-30 05:09:25 -05:00
Michael Larabel
b6bb8ebaf5 ob_auto_compare: cleanup comments 2019-09-29 19:08:18 -05:00
Michael Larabel
a7765bff31 ob_auto_compare: Shorten string 2019-09-29 19:04:44 -05:00
Michael Larabel
38eb9fca74 ob_auto_compare: Try more aggressive reporting 2019-09-29 18:51:49 -05:00
Michael Larabel
a46d59a0a1 pts-core: Fix possible divide by zero 2019-09-29 12:27:38 -05:00
Michael Larabel
d539cd6b3a pts_ae_data: Relax some of the restrictions 2019-09-29 08:20:59 -05:00
Michael Larabel
844cf205f2 ob_auto_compare: better fallback 2019-09-27 06:34:34 -05:00
Michael Larabel
77a01ad55d ob_auto_compare: cleanup text 2019-09-26 18:14:52 -05:00
Michael Larabel
8e3567a2a8 pts-core: Fedora updates 2019-09-26 14:27:23 -05:00
Michael Larabel
044f16205d pts-core: Set AllowResultUploadsToOpenBenchmarking = FALSE in enterprise-setup 2019-09-26 09:43:08 -05:00
Michael Larabel
706076b5ad ob_auto_compare: Shorten up AMD CPU strings 2019-09-26 09:41:36 -05:00
Michael Larabel
00edce2f4d ob_auto_compare: Show since [date] as part of the inline box plot 2019-09-26 09:33:53 -05:00
Michael Larabel
06fdbf5c9d pts-core: Fix OB auto upload bit 2019-09-26 03:59:24 -05:00
Michael Larabel
84e1649ded pts-core: Fix OB auto upload bit 2019-09-26 03:57:32 -05:00
Michael Larabel
8325b0c0c1 pts-core: Two minor updates 2019-09-19 08:36:18 -05:00
Michael Larabel
9071c75ff9 phodevi: New cpu.peak-freq sensor for reporting just the highest CPU core frequency at that moment 2019-09-18 08:12:43 -05:00
34 changed files with 928 additions and 51 deletions

View File

@@ -1,5 +1,21 @@
PHORONIX TEST SUITE CHANGE-LOG
Phoronix Test Suite 9.2.0 Milestone 1
17 October 2019
pts-core: New possible external dependencies for gflags, clang, uuid, tclsh
pts-core: External dependencies updates for Windows
pts-core: Crash fix for macOS in regression from PTS 9.0.1 launcher change
Phoronix Test Suite 9.0.1-Asker
1 October 2019
pts-core: Fatal error fix for old PHP5 versions (RHEL 7) with pts_openbenchmarking_upload crash
pts-core: Set AllowResultUploadsToOpenBenchmarking = FALSE in enterprise-setup
ob_auto_compare: Show "since [date]" as part of the inline box plot
ob_auto_compare: Various tweaks/styling improvements to the inline box-plot display
phodevi: New cpu.peak-freq sensor for reporting just the highest CPU core frequency at that moment
Phoronix Test Suite 9.0.0-Asker
16 September 2019

View File

@@ -1,4 +1,4 @@
# Phoronix Test Suite 9.0.0
# Phoronix Test Suite 9.2.0m1
https://www.phoronix-test-suite.com/
The **Phoronix Test Suite** is the most comprehensive testing and benchmarking

View File

@@ -53,7 +53,7 @@ shell_exec("./install-sh /tmp/pts-deb-builder/usr");
$pts_version = str_replace("a", "~a", str_replace("b", "~b", PTS_VERSION)); // Fix version
$phoronix_test_suite_bin = file_get_contents("phoronix-test-suite");
$phoronix_test_suite_bin = str_replace("export PTS_DIR=`pwd`", "export PTS_DIR='/usr/share/phoronix-test-suite/'", $phoronix_test_suite_bin);
$phoronix_test_suite_bin = str_replace("#export PTS_DIR=`pwd`", "export PTS_DIR='/usr/share/phoronix-test-suite/'", $phoronix_test_suite_bin);
file_put_contents("/tmp/pts-deb-builder/usr/bin/phoronix-test-suite", $phoronix_test_suite_bin);
shell_exec("chmod +x /tmp/pts-deb-builder/usr/bin/phoronix-test-suite");

View File

@@ -1,4 +1,4 @@
.TH phoronix-test-suite 1 "www.phoronix-test-suite.com" "9.0.0"
.TH phoronix-test-suite 1 "www.phoronix-test-suite.com" "9.2.0m1"
.SH NAME
phoronix-test-suite \- The Phoronix Test Suite is an extensible open-source platform for performing testing and performance evaluation.
.SH SYNOPSIS

View File

@@ -1121,6 +1121,93 @@ 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>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>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>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>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>

View File

@@ -1159,6 +1159,93 @@ 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.
#### 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.
#### 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.
#### 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.
#### 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.

View File

@@ -234,6 +234,93 @@
<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>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>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>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>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>

View File

@@ -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:PTS_DIR=`pwd`: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`):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

View File

@@ -28,8 +28,14 @@ then
fi
# Full path to root directory of the actual Phoronix Test Suite code
# export PTS_DIR=$(readlink -f `dirname $0`)
export PTS_DIR=`pwd`
if [ -d /Applications ]
then
# macOS has problems with the readlink code
export PTS_DIR=`pwd`
else
export PTS_DIR=$(readlink -f `dirname $0`)
fi
export PTS_MODE="CLIENT"
if which realpath >/dev/null 2>&1 ;
then
@@ -255,7 +261,11 @@ then
cat <<'EOT'
To run the Phoronix Test Suite locally you must first change directories to phoronix-test-suite/
or install the program using the install-sh script. For support visit: https://www.phoronix-test-suite.com/
or install the program using the install-sh script.
For support visit:
https://www.phoronix-test-suite.com/
https://github.com/phoronix-test-suite/phoronix-test-suite
EOT
exit

View File

@@ -3,8 +3,8 @@
/*
Phoronix Test Suite
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
Copyright (C) 2014 - 2017, Phoronix Media
Copyright (C) 2014 - 2017, Michael Larabel
Copyright (C) 2014 - 2019, Phoronix Media
Copyright (C) 2014 - 2019, 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,8 @@ class enterprise_setup implements pts_option_interface
public static function run($r)
{
$force_options = array(
'PhoronixTestSuite/Options/OpenBenchmarking/AnonymousUsageReporting' => 'FALSE'
'PhoronixTestSuite/Options/OpenBenchmarking/AnonymousUsageReporting' => 'FALSE',
'PhoronixTestSuite/Options/OpenBenchmarking/AllowResultUploadsToOpenBenchmarking' => 'FALSE'
);
if(pts_network::internet_support_available() == false)

View File

@@ -241,6 +241,7 @@ class info implements pts_option_interface
echo PHP_EOL . pts_client::cli_just_bold('Contained Tests:') . PHP_EOL;
echo pts_user_io::display_text_list(array_unique($test_titles));
echo ' ' . pts_client::cli_just_italic(pts_strings::plural_handler($o->get_test_count(), 'Test')) . PHP_EOL;
echo ' ' . pts_client::cli_just_italic(pts_strings::plural_handler($o->get_qualified_test_count(), 'Qualified Test')) . PHP_EOL;
}
echo PHP_EOL;
}

View File

@@ -0,0 +1,19 @@
#!/bin/sh
# Fedora / Red Hat package installation
if [ `whoami` = "root" ] && [ ! -w /usr/bin/sudo ]; then
yum -y install $*
elif [ -x /usr/bin/dnf ]; then
sudo dnf -y --skip-broken install $*
elif [ `whoami` = "ec2-user" ]; then
sudo yum -y --skip-broken install $*
else
echo "Please enter your SUDO password below:" 1>&2
read -s -p "Password: " passwd
if ! echo $passwd | sudo -S -p '' yum -y --skip-broken install $*; then
echo "Please enter your ROOT password below:" 1>&2
su root -c "yum -y --skip-broken install $*"
fi
fi
exit

View File

@@ -319,5 +319,17 @@
<GenericName>libxml2</GenericName>
<PackageName>libxml2</PackageName>
</Package>
<Package>
<GenericName>uuid</GenericName>
<PackageName>uuid</PackageName>
</Package>
<Package>
<GenericName>clang</GenericName>
<PackageName>clang</PackageName>
</Package>
<Package>
<GenericName>gflags</GenericName>
<PackageName>gflags</PackageName>
</Package>
</ExternalDependencies>
</PhoronixTestSuite>

View File

@@ -0,0 +1,363 @@
<?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>

View File

@@ -4,7 +4,7 @@
<ExternalDependencies>
<Information>
<Name>Fedora</Name>
<Aliases>Moblin, MeeGo, Amazon, Red Hat Enterprise, Red Hat Enterprise Server, Scientific, ScientificSL, CentOS, ClearOS, ClearOS Core Server, Oracle Server, OLPC</Aliases>
<Aliases>Moblin, MeeGo, Amazon, Red Hat Enterprise, Red Hat Enterprise Server, Scientific, ScientificSL, ClearOS, ClearOS Core Server, Oracle Server, OLPC</Aliases>
<PackageManager>yum</PackageManager>
</Information>
<Package>
@@ -68,13 +68,9 @@
</Package>
<Package>
<GenericName>build-utilities</GenericName>
<PackageName>gcc gcc-c++ make autoconf automake glibc-static patch expat-devel</PackageName>
<PackageName>gcc gcc-c++ make autoconf automake patch expat-devel</PackageName>
<FileCheck>gcc, c++</FileCheck>
</Package>
<Package>
<GenericName>xorg-development</GenericName>
<PackageName>xorg-x11-server-devel</PackageName>
</Package>
<Package>
<GenericName>bison</GenericName>
<PackageName>bison</PackageName>
@@ -253,7 +249,7 @@
</Package>
<Package>
<GenericName>openmpi-development</GenericName>
<PackageName>openmpi-devel openmpi mpich2-devel</PackageName>
<PackageName>openmpi-devel openmpi</PackageName>
<FileCheck>openmpi/lib/libmpi.so</FileCheck>
</Package>
<Package>
@@ -352,5 +348,17 @@
<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>

View File

@@ -548,5 +548,23 @@
<PossibleNames>libxml2</PossibleNames>
<FileCheck>libxml2/libxml/parser.h</FileCheck>
</Package>
<Package>
<GenericName>uuid</GenericName>
<Title>UUID</Title>
<PossibleNames>uuid-dev, libuuid-devel</PossibleNames>
<FileCheck>uuid/uuid.h</FileCheck>
</Package>
<Package>
<GenericName>clang</GenericName>
<Title>LLVM Clang</Title>
<PossibleNames>clang</PossibleNames>
<FileCheck>clang</FileCheck>
</Package>
<Package>
<GenericName>gflags</GenericName>
<Title>GFlags</Title>
<PossibleNames>gflags</PossibleNames>
<FileCheck>gflags/gflags.h</FileCheck>
</Package>
</ExternalDependencies>
</PhoronixTestSuite>

View File

@@ -332,5 +332,13 @@
<GenericName>libxml2</GenericName>
<PackageName>dev-libs/libxml2</PackageName>
</Package>
<Package>
<GenericName>uuid</GenericName>
<PackageName>sys-libs/libuuid</PackageName>
</Package>
<Package>
<GenericName>gflags</GenericName>
<PackageName>dev-cpp/gflags</PackageName>
</Package>
</ExternalDependencies>
</PhoronixTestSuite>

View File

@@ -61,6 +61,16 @@
<PackageName>cmake</PackageName>
<FileCheck>C:\cygwin64\bin\cmake.exe</FileCheck>
</Package>
<Package>
<GenericName>tcl</GenericName>
<PackageName>tcl tclsh</PackageName>
<FileCheck>C:\cygwin64\bin\tclsh.exe</FileCheck>
</Package>
<Package>
<GenericName>ruby</GenericName>
<PackageName>ruby</PackageName>
<FileCheck>C:\cygwin64\bin\ruby.exe</FileCheck>
</Package>
<Package>
<GenericName>node-npm</GenericName>
<PackageName>https://nodejs.org/dist/latest-v11.x/node-v11.5.0-x64.msi</PackageName>

View File

@@ -334,5 +334,17 @@
<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</PackageName>
</Package>
</ExternalDependencies>
</PhoronixTestSuite>

View File

@@ -251,7 +251,7 @@
</Package>
<Package>
<GenericName>tcl</GenericName>
<PackageName>tcl</PackageName>
<PackageName>tcl tclsh</PackageName>
</Package>
<Package>
<GenericName>glibc-development</GenericName>
@@ -403,5 +403,17 @@
<GenericName>libxml2</GenericName>
<PackageName>libxml2-dev</PackageName>
</Package>
<Package>
<GenericName>uuid</GenericName>
<PackageName>uuid-dev</PackageName>
</Package>
<Package>
<GenericName>clang</GenericName>
<PackageName>clang</PackageName>
</Package>
<Package>
<GenericName>gflags</GenericName>
<PackageName>libgflags-dev</PackageName>
</Package>
</ExternalDependencies>
</PhoronixTestSuite>

View File

@@ -141,7 +141,7 @@ class ob_auto_compare extends pts_module_interface
protected static function request_compare_from_ob(&$result_object, $comparison_hash, $system_type)
{
$terminal_width = pts_client::terminal_width();
if(!pts_network::internet_support_available() || self::$response_time > 12 || $terminal_width < 60)
if(!pts_network::internet_support_available() || self::$response_time > 15 || $terminal_width < 52)
{
// If no network or OB requests are being slow...
return false;
@@ -153,7 +153,6 @@ class ob_auto_compare extends pts_module_interface
$test_profile = $result_object->test_profile->get_identifier(false);
$json_response = pts_openbenchmarking::make_openbenchmarking_request('auto_compare_via_hash', array('comparison_hash' => $comparison_hash, 'system_type' => $system_type, 'test_profile' => $test_profile, 'comparison_hash_string' => $ch));
self::$response_time = time() - $ob_request_time;
$json_response = json_decode($json_response, true);
if(is_array($json_response))
@@ -170,14 +169,26 @@ class ob_auto_compare extends pts_module_interface
$other_data_in_result_file[$buffer_item->get_result_identifier()] = $buffer_item->get_result_value();
}
// XXX DEBUG XXX
//$v = $result_object->test_result_buffer->get_values();
//$active_result = array_pop($v);
if(is_numeric($active_result) && $active_result > 0 && isset($json_response['openbenchmarking']['result']['ae']['percentiles']) && !empty($json_response['openbenchmarking']['result']['ae']['percentiles']) && isset($json_response['openbenchmarking']['result']['ae']['samples']))
{
$percentiles = $json_response['openbenchmarking']['result']['ae']['percentiles'];
$sample_count = $json_response['openbenchmarking']['result']['ae']['samples'];
$first_appeared = $json_response['openbenchmarking']['result']['ae']['first_appeared'];
if(empty($first_appeared) || !is_numeric($first_appeared))
{
$first_appeared = strtotime('2011-02-26');
}
if($first_appeared > (time() - (86400 * 270)))
{
// If data is less than 9 months or so, don't bother putting year
$first_appeared = date('j F', $first_appeared);
}
else
{
$first_appeared = date('j F Y', $first_appeared);
}
$box_plot = str_repeat(' ', $terminal_width - 4);
$box_plot_size = strlen($box_plot);
@@ -262,12 +273,28 @@ class ob_auto_compare extends pts_module_interface
{
continue;
}
// Blocks other entries from overwriting or being immediately adjacent to one another
$results_at_pos[] = $this_result_pos;
$results_at_pos[] = $this_result_pos - 1;
$results_at_pos[] = $this_result_pos - 2;
//$results_at_pos[] = $this_result_pos - 3;
$results_at_pos[] = $this_result_pos + 1;
$results_at_pos[] = $this_result_pos + 2;
if($terminal_width <= 80)
{
// Try to shorten up some components/identifiers if terminal narrow to fit in more data
$component = trim(str_replace(array('AMD', 'Intel', 'NVIDIA', 'Radeon', 'GeForce', ' '), '', $component));
}
foreach(array('-Core', ' with ') as $cutoff)
{
// On AMD product strings, trip the XX-Core from string to save space...
// Similarly some "APU with Radeon" text also chop off
if(($cc = strpos($component, $cutoff)) !== false)
{
$component = substr($component, 0, $cc);
$component = substr($component, 0, strrpos($component, ' '));
}
}
if($result_object->test_profile->get_result_proportion() == 'LIB')
{
@@ -341,7 +368,7 @@ class ob_auto_compare extends pts_module_interface
}
echo PHP_EOL;
echo ' ' . pts_client::cli_just_italic('Result compared to ' . pts_client::cli_just_bold(number_format($sample_count)) . ' OpenBenchmarking.org samples; median: ' . pts_client::cli_just_bold(round($percentiles[50], ($percentiles[50] < 100 ? 2 : 0))) . '. Box plot of sampling:') . PHP_EOL;
echo ' ' . pts_client::cli_just_italic('Result compared to ' . pts_client::cli_just_bold(number_format($sample_count)) . ' OpenBenchmarking.org samples since ' . pts_client::cli_just_bold($first_appeared) . '; median result: ' . pts_client::cli_just_bold(round($percentiles[50], ($percentiles[50] < 100 ? 2 : 0))) . '. Box plot of samples:') . PHP_EOL;
echo ' ' . implode('', $box_plot) . PHP_EOL;
foreach($box_plot_complement as $line_r)
{

View File

@@ -724,11 +724,11 @@ class system_monitor extends pts_module_interface
$arguments_try_description = phodevi::sensor_object_name($sensor) . ' Per Test Try Monitor';
}
$scale = phodevi::read_sensor_object_unit($sensor);
$test_result->test_profile->set_identifier(null);
$test_result->test_profile->set_result_proportion('LIB');
$test_result->test_profile->set_result_proportion(stripos($scale, 'hertz') === false && stripos($scale, 'hz') === false ? 'LIB' : 'HIB');
$test_result->test_profile->set_display_format('LINE_GRAPH');
$test_result->test_profile->set_result_scale(phodevi::read_sensor_object_unit($sensor));
$test_result->test_profile->set_result_scale($scale);
$test_result->set_used_arguments_description($arguments_description);
$test_result->set_used_arguments(phodevi::sensor_object_name($sensor) . ' ' . $test_result->get_arguments());
$test_result->test_result_buffer = $result_buffer;

View File

@@ -23,7 +23,7 @@
class pts_openbenchmarking_client
{
private static $openbenchmarking_account = false;
private static $client_settings = null;
public static $client_settings = null;
public static function upload_test_result(&$object, $return_json_data = false, $prompts = true)
{

View File

@@ -532,7 +532,7 @@ class pts_test_run_manager
$components = pts_result_file_analyzer::system_component_string_to_array(phodevi::system_hardware(true) . ', ' . phodevi::system_software(true));
if($subsystem != null && isset($components[$subsystem]))
{
$subsystem_name = pts_strings::trim_search_query($components[$subsystem]);
$subsystem_name = trim(pts_strings::trim_search_query($components[$subsystem]));
if(!empty($subsystem_name) && phodevi::is_vendor_string($subsystem_name) && !in_array($subsystem_name, $subsystem_r))
{

View File

@@ -1348,7 +1348,7 @@ class phodevi_gpu extends phodevi_device_interface
$info = 'AMD ' . $info;
}
if(phodevi::is_linux() && ($vendor = phodevi_linux_parser::read_pci_subsystem_value('VGA compatible controller')) != null && stripos($info, $vendor) === false && (stripos($info, 'AMD') !== false || stripos($info, 'NVIDIA') !== false))
if(phodevi::is_linux() && ($vendor = phodevi_linux_parser::read_pci_subsystem_value('VGA compatible controller')) != null && stripos($info, $vendor) === false && (stripos($info, 'AMD') !== false || stripos($info, 'NVIDIA') !== false || stripos($info, 'Intel') !== false))
{
$info = $vendor . ' ' . $info;
}
@@ -1381,6 +1381,9 @@ class phodevi_gpu extends phodevi_device_interface
// Last possible fallback...
$info = str_replace(' FB', '', pts_file_io::file_get_contents('/sys/class/graphics/fb0/name'));
}
// Happens with Intel Iris Gallium3D
$info = str_replace('Mesa ', ' ', $info);
/*if(empty($info))
{
$info = 'Unknown';

View File

@@ -47,6 +47,10 @@ class phodevi_monitor extends phodevi_device_interface
{
$monitor = null;
}
else
{
$monitor = array($monitor);
}
}
else if(phodevi::is_nvidia_graphics() && isset(phodevi::$vfs->xorg_log))
{

View File

@@ -0,0 +1,80 @@
<?php
/*
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
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
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class cpu_peak_freq extends phodevi_sensor
{
const SENSOR_TYPE = 'cpu';
const SENSOR_SENSES = 'peak-freq';
const SENSOR_UNIT = 'Megahertz';
function __construct($instance, $parameter)
{
parent::__construct($instance, $parameter);
}
public static function parameter_check($parameter)
{
return phodevi::is_linux();
}
public function support_check()
{
return phodevi::is_linux();
}
public function get_readable_device_name()
{
return 'Highest CPU Core Frequency';
}
public function read_sensor()
{
// Determine the current processor frequency
$frequency = 0;
if(phodevi::is_linux())
{
$frequency = $this->cpu_freq_linux();
}
return pts_math::set_precision($frequency, 0);
}
private function cpu_freq_linux()
{
$peak_frequency = -1;
foreach(pts_file_io::glob('/sys/devices/system/cpu/*/cpufreq/scaling_cur_freq') as $scaling_cur_freq)
{
$scaling_cur_freq = pts_file_io::file_get_contents($scaling_cur_freq);
if(is_numeric($scaling_cur_freq) && $scaling_cur_freq > $peak_frequency)
{
$peak_frequency = $scaling_cur_freq;
}
}
if($peak_frequency > 1000)
{
$peak_frequency = round($peak_frequency / 1000);
}
return $peak_frequency;
}
}
?>

View File

@@ -28,7 +28,7 @@ class pts_graph_run_vs_run extends pts_graph_core
public static function cmp_result_object_sort($a, $b)
{
return strcmp($b->get_spread(), $a->get_spread());
return strcmp($b->get_spread(false), $a->get_spread(false));
return strcmp($a, $b);
}

View File

@@ -209,12 +209,12 @@ class pts_ae_data
// if no new results in 3 years, likely outdated...
continue;
}
if(count($data) < 6)
if(count($data) < 4)
{
continue;
}
$data = pts_math::remove_outliers($data);
if(count($data) < 6)
if(count($data) < 3)
{
continue;
}
@@ -229,14 +229,14 @@ class pts_ae_data
foreach($comparison_components as $component => &$values)
{
$values = pts_math::remove_outliers($values);
if(count($values) < 6)
if(count($values) < 3)
{
unset($comparison_components[$component]);
continue;
}
}
uasort($comparison_components, array('pts_ae_data', 'sort_array_by_size_of_array_in_value'));
$comparison_components = array_slice($comparison_components, 0, 60);
$comparison_components = array_slice($comparison_components, 0, 65);
foreach($comparison_components as $component => &$values)
{
$values = round(pts_math::arithmetic_mean($values), ($peak > 60 ? 0 : 2));

View File

@@ -59,9 +59,9 @@ class pts_openbenchmarking_upload extends pts_openbenchmarking
{
$upload_system_logs = true;
}
else if(isset(self::$client_settings['UploadSystemLogsByDefault']))
else if(PTS_IS_CLIENT && isset(pts_openbenchmarking_client::$client_settings['UploadSystemLogsByDefault']))
{
$upload_system_logs = self::$client_settings['UploadSystemLogsByDefault'];
$upload_system_logs = pts_openbenchmarking_client::$client_settings['UploadSystemLogsByDefault'];
}
else if(is_dir($system_log_dir))
{
@@ -160,10 +160,10 @@ class pts_openbenchmarking_upload extends pts_openbenchmarking
'system_logs_hash' => $system_logs_hash
);
if(isset(self::$client_settings['ResultUploadsDefaultDisplayStatus']) && is_numeric(self::$client_settings['ResultUploadsDefaultDisplayStatus']))
if(PTS_IS_CLIENT && isset(pts_openbenchmarking_client::$client_settings['ResultUploadsDefaultDisplayStatus']) && is_numeric(pts_openbenchmarking_client::$client_settings['ResultUploadsDefaultDisplayStatus']))
{
$to_post['display_status'] = self::$client_settings['ResultUploadsDefaultDisplayStatus'];
$to_post['display_status'] = pts_openbenchmarking_client::$client_settings['ResultUploadsDefaultDisplayStatus'];
}
$json_response = pts_openbenchmarking::make_openbenchmarking_request('upload_test_result', $to_post);
@@ -196,7 +196,7 @@ class pts_openbenchmarking_upload extends pts_openbenchmarking
}
//$json['openbenchmarking']['upload']['id']
if(isset(self::$client_settings['RemoveLocalResultsOnUpload']) && self::$client_settings['RemoveLocalResultsOnUpload'] && $local_file_name != null)
if(PTS_IS_CLIENT && isset(pts_openbenchmarking_client::$client_settings['RemoveLocalResultsOnUpload']) && pts_openbenchmarking_client::$client_settings['RemoveLocalResultsOnUpload'] && $local_file_name != null)
{
pts_client::remove_saved_result_file($local_file_name);
}

View File

@@ -296,6 +296,18 @@ class pts_result_file
{
return count($this->get_result_objects());
}
public function get_qualified_test_count()
{
$q_count = 0;
foreach($this->get_result_objects() as $ro)
{
if($ro->test_profile->get_identifier() != null)
{
$q_count++;
}
}
return $q_count;
}
public function has_matching_test_and_run_identifier(&$test_result, $run_identifier_to_check)
{
$found_match = false;

View File

@@ -247,9 +247,9 @@ class pts_test_result
return $winner;
}
public function get_spread()
public function get_spread($noisy_check = true)
{
if($this->has_noisy_result())
if($noisy_check && $this->has_noisy_result())
{
return -1;
}

View File

@@ -805,7 +805,7 @@ class pts_test_result_parser
{
$test_result = $test_result / $divide_by;
}
if($divide_divisor != null && is_numeric($divide_divisor) && $divide_divisor != 0)
if($divide_divisor != null && is_numeric($divide_divisor) && $divide_divisor != 0 && $test_result != 0)
{
$test_result = $divide_divisor / $test_result;
}

View File

@@ -278,10 +278,10 @@ function pts_version_codenames()
);
}
pts_define('PTS_VERSION', '9.0.0');
pts_define('PTS_CORE_VERSION', 9000);
pts_define('PTS_RELEASE_DATE', '20190916');
pts_define('PTS_CODENAME', 'Asker');
pts_define('PTS_VERSION', '9.2.0m1');
pts_define('PTS_CORE_VERSION', 9110);
pts_define('PTS_RELEASE_DATE', '20191017');
pts_define('PTS_CODENAME', 'Hurdal');
pts_define('PTS_IS_CLIENT', (defined('PTS_MODE') && strstr(PTS_MODE, 'CLIENT') !== false));
pts_define('PTS_IS_WEB_CLIENT', (defined('PTS_MODE') && PTS_MODE == 'WEB_CLIENT'));