diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-04 13:44:13 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-04 13:44:13 -0500 |
commit | 5adcc946f34b0087c631b112b90d33a090ed9092 (patch) | |
tree | ecdf7e54aa6726345fb09d5c6c8d91df4fe981eb | |
parent | 70013b2d3745fa53acfdcf026a2268167e7946b2 (diff) | |
download | phoronix-test-suite-upstream-5adcc946f34b0087c631b112b90d33a090ed9092.tar.gz phoronix-test-suite-upstream-5adcc946f34b0087c631b112b90d33a090ed9092.tar.xz phoronix-test-suite-upstream-5adcc946f34b0087c631b112b90d33a090ed9092.zip |
pts: Report 2D EXA/XAA acceleration mode in the test notes when running
gtkperf test
-rw-r--r-- | CHANGE-LOG | 1 | ||||
-rw-r--r-- | pts/test-profiles/gtkperf.xml | 2 | ||||
-rw-r--r-- | pts/test-resources/gtkperf/post.php | 13 |
3 files changed, 15 insertions, 1 deletions
@@ -7,6 +7,7 @@ Phoronix Test Suite (Git) - pts-core: Fix RAM detection on Dell servers where "<OUT OF SPEC>" was string and then failed the XML to render (reported by pjwelsh) - pts-core: Add "not specified" to HAL $remove_words - pts: Add gcc-g++ to external dependencies support for Cent OS and Fedora (reported by pjwelsh) +- pts: Report 2D EXA/XAA acceleration mode in the test notes when running gtkperf test Phoronix Test Suite 1.4.0 November 3, 2008 diff --git a/pts/test-profiles/gtkperf.xml b/pts/test-profiles/gtkperf.xml index 602733c..c7faffd 100644 --- a/pts/test-profiles/gtkperf.xml +++ b/pts/test-profiles/gtkperf.xml @@ -1,6 +1,6 @@ <PhoronixTestSuite> <TestProfile> - <Version>1.2.0</Version> + <Version>1.2.1</Version> <TestType>Graphics</TestType> <SoftwareType>Utility</SoftwareType> <License>FREE</License> diff --git a/pts/test-resources/gtkperf/post.php b/pts/test-resources/gtkperf/post.php new file mode 100644 index 0000000..1d8b37b --- /dev/null +++ b/pts/test-resources/gtkperf/post.php @@ -0,0 +1,13 @@ +<?php + +if(is_file("/var/log/Xorg.0.log")) +{ + $x_log = file_get_contents("/var/log/Xorg.0.log"); + + if(strpos($x_log, "Using EXA") > 0) + file_put_contents("pts-test-note", "2D Acceleration: EXA"); + else if(strpos($x_log, "Using XFree86") > 0) + file_put_contents("pts-test-note", "2D Acceleration: XAA"); +} + +?> |