summaryrefslogtreecommitdiffstats
path: root/pts
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-04 13:44:13 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-04 13:44:13 -0500
commit5adcc946f34b0087c631b112b90d33a090ed9092 (patch)
treeecdf7e54aa6726345fb09d5c6c8d91df4fe981eb /pts
parent70013b2d3745fa53acfdcf026a2268167e7946b2 (diff)
downloadphoronix-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
Diffstat (limited to 'pts')
-rw-r--r--pts/test-profiles/gtkperf.xml2
-rw-r--r--pts/test-resources/gtkperf/post.php13
2 files changed, 14 insertions, 1 deletions
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");
+}
+
+?>