9046 Commits

Author SHA1 Message Date
Michael Larabel
f9fb12b6d2 pts-core: PHP 8.5 warning fixes 2025-11-30 04:42:41 -06:00
Michael Larabel
e8f464155b pts-core: Couple small fixes 2025-11-09 06:02:58 -06:00
Michael Larabel
fb292fba88 pts-core: Various fixes 2025-09-14 05:28:07 -05:00
Michael Larabel
eedb556475 pts-core: Various fixes, PHP 8.5 compatibility updates 2025-08-17 10:59:50 -05:00
Michael Larabel
87c7188a50 pts-core: Minor fixes over time 2025-06-14 19:56:14 -05:00
Michael Larabel
2a44c29064 phodevi: Few fixes 2025-05-25 07:40:10 -05:00
Aleksei Savin
b0046d9414 Make PNG background transparent. It's black by default 2025-04-27 05:11:00 -05:00
Srinivas Pandruvada
811a53bc3b pts-core: Parsing result format with ":#_RESULT_#"
Some benchmark output reports are in the format:
xyz score:XYZ

Here there is no space between ':' and actual result.

To parse such format create a template something like this:
<OutputTemplate>xxx:#_RESULT_#</OutputTemplate>

This type of the format can't be parsed correctly.

The current implementation expects a "space" after column.
For example:
In test-profiles/system/selenium-1.0.18/results-definition.xml
<ResultsParser>
  <OutputTemplate>WEBXPRT SCORE RESULT: #_RESULT_#</OutputTemplate>

To be able to parse when there is no space between ":" and "#" add a
a space character in the template line.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
2025-04-27 05:10:24 -05:00
Michael Larabel
e4857241da pts-core: PHP 8.4 warning fixes and other small fixes/improvements 2025-03-29 06:21:22 -05:00
Michael Larabel
e1fdc09426 pts-core: Few fixes and NPU detection 2025-01-26 06:39:07 -06:00
Mingcong Bai
f665ba8ee7 phodevi_cpu: add LoongArch processor detection support
LoongArch processors uses the "Model Name:" field in /proc/cpuinfo to
denote the processor model, a snippet below:

processor               : 31
package                 : 0
core                    : 31
global_id               : 31
CPU Family              : Loongson-64bit
Model Name              : Loongson-3C6000
CPU Revision            : 0x10
FPU Revision            : 0x00
CPU MHz                 : 2200.00
BogoMIPS                : 4400.00
TLB Entries             : 2112
Address Sizes           : 48 bits physical, 48 bits virtual
ISA                     : loongarch32r loongarch32s loongarch64
Features                : cpucfg lam ual fpu lsx lasx crc32 complex crypto lspw lvz lbt_x86 lbt_arm lbt_mips
Hardware Watchpoint     : yes, iwatch count: 8, dwatch count: 4

Add "Model Name" to the array of patterns to define $cpu_strings via
phodevi_linux_parser::read_cpuinfo().

Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
2024-12-01 05:19:52 -06:00
Greg Gant
f6e9155e3f Update pts_external_dependencies.php - ARM64 Homebrew dependency fix
This fix adds in the /opt/ directories to search for dependencies when using Homebrew installed natively on ARM64 macOS
2024-12-01 05:18:21 -06:00
Michael Larabel
d68dcb9b8d pts-core: Few fixes 2024-12-01 05:16:24 -06:00
Michael Larabel
8c171bb197 pts-core: Few fixes 2024-11-24 07:54:36 -06:00
Michael Larabel
5167450443 pts-core: PHP 8.4 warning fixes and optimizations 2024-11-24 05:42:04 -06:00
Michael Larabel
ef25cae756 pts-core: Rework the sensor code 2024-11-24 05:02:58 -06:00
Michael Larabel
899246f23e pts-cor: Few fixes 2024-11-10 05:14:33 -06:00
Michael Larabel
106ea700a8 pts-core: Couple fixes 2024-10-05 05:56:29 -05:00
Srinivas Pandruvada
d1119ab3ec Ignore psys domain for CPU power sensor
psys domain is a system domain which aggregates all system power. This requires
hardware support and configuration by OEMs. There can be multiple psys domains
in servers. psys domains are present at the same level as package domains in the
powercap/intel-rapl sysfs. This is not just CPU related power.

For CPU power sensor just use package level without adding energy values from
psys domains. So, skip adding psys energy value to $total_energy.
2024-09-29 05:28:49 -05:00
Michael Larabel
e1bc468707 pts-core: Fixes for running on openSUSE 2024-09-14 18:14:53 -05:00
Michael Larabel
137aff0047 pts-core: Add back EXECUTE_BINARY_PREPEND support
Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/807
2024-09-14 18:14:21 -05:00
Ettore Chimenti
1620cafc2e phodevi: check if test supports extra host arch
Marking test as compatible if optional HOST_EXTRA_COMPATIBLE_ARCH
environmental variable is matching one of the supported architectures.

Signed-off-by: Ettore Chimenti <ettore.chimenti@linaro.org>
2024-09-08 05:29:05 -05:00
Ettore Chimenti
9d5a60d7fd pts-env: add option for extra architecture support
This option allows to specify additional architecture support to being
able to install tests that supports specific architectures only. It can
be useful in systems where is available an user-space emulator (e.g.
FEX-EMU for x86_64 applications on aarch64) to run binary tests that
cannot be compiled natively.

The introduced environment variable is HOST_EXTRA_COMPATIBLE_ARCH.

Signed-off-by: Ettore Chimenti <ettore.chimenti@linaro.org>
2024-09-08 05:29:05 -05:00
Michael Larabel
472f45b46f pts-core: A few fixes 2024-09-08 05:28:32 -05:00
Michael Larabel
70843bc7b5 pts-core: Fixes accumulated for the result viewer 2024-08-24 10:35:49 -05:00
Michael Larabel
781d435be2 pts-core: Fix various typos in correct source locations, rebuild docs
Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/pull/804
2024-08-17 20:05:21 -05:00
Michael Larabel
c259552dc1 phodevi: Various fixes 2024-08-17 20:04:19 -05:00
Michael Larabel
99c30505d7 phodevi: Various fixes 2024-06-15 06:05:20 -05:00
Michael Larabel
bb7da532c7 phodevi: Couple minor fixes 2024-05-05 04:59:54 -05:00
Michael Larabel
d719e4aa23 phodevi: Bug fixes 2024-03-24 14:10:15 -05:00
Michael Larabel
c2605245ac Bump to 10.8.5 2024-03-24 05:34:17 -05:00
Michael Larabel
5dbaac229a Fixes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/774 2024-03-02 05:52:41 -06:00
Michael Larabel
fd22d6cb09 phodevi: Various hardware fixes 2024-02-26 18:56:37 -06:00
Michael Larabel
87478458ed phodevi: Various fixes 2024-01-28 07:59:31 -06:00
Michael Larabel
331b4722fe pts-core: PHP warning fixes and other random fixes 2024-01-14 05:50:31 -06:00
Michael Larabel
2c13ab476a phodevi: Few fixes 2024-01-08 19:18:15 -06:00
Michael Larabel
770b08a804 pts-core: Couple minor fixes 2024-01-01 15:58:57 -06:00
Michael Larabel
5177940edb phodevi: Fix detecting latest CPUs 2023-12-10 04:52:24 -06:00
Ken-ichi Mito
ebcde81fcd fix: 'Automatic conversion of false to array is deprecated' warning 2023-11-26 05:28:27 -06:00
Ken-ichi Mito
3a16f5c9cc use fixed is_proxy_setup() instead of directly comparing return value of get_network_proxy() 2023-11-26 05:28:27 -06:00
Ken-ichi Mito
192d4fe457 fix: is_proxy_setup() should return 'true' if the proxy is set
pts_network::is_proxy_setup() was introduced in e36e865 for the reason
"Don't use HTTPS on proxies when connecting to OpenBenchmarking.org",
however, in reality, HTTPS is only used if a proxy is configured.

is_proxy_setup() returns TRUE if no proxy is set, which seems the
opposite of the expected return value from the function name,
unlike other functions starting with is_*().
2023-11-26 05:28:27 -06:00
Piraty
185fe059d5 pts-core: Void switched to openssl 2023-11-26 05:28:03 -06:00
Michael Larabel
9015a7f091 pts-core: PHP 8.3 compatibility updates/fixes 2023-11-26 05:12:39 -06:00
Michael Larabel
af4db559fc pts-core: Few random fixes 2023-11-19 08:15:25 -06:00
Michael Larabel
93d7e6dec6 pts-core: Few random fixes 2023-11-04 13:50:48 -05:00
Michael Larabel
f241b9526d pts-core / phoevi: Few minor fixes 2023-08-19 20:45:53 -05:00
Michael Larabel
7b98183724 pts-core: Properly restore SleepTimeBetweenTests option
Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/pull/722
Fixes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/713
2023-08-19 20:43:57 -05:00
Michael Larabel
d7cddd4467 pts-core: Couple small fixes 2023-07-30 05:35:15 -05:00
Michael Larabel
0f8c1567ab pts-core: Add some old logging code 2023-07-16 16:49:25 -05:00
Michael Larabel
b1346a1613 pts-core: Couple accumulated fixes 2023-06-17 06:52:38 -05:00