summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2008-08-27 22:32:41 +0200
committerNicolai Haehnle <nhaehnle@gmail.com>2008-08-27 22:32:41 +0200
commita6ee98404fbe63d19d9097641497d9e52e3d45e0 (patch)
tree683c00587fe7288296ce9f057281c2512b55d5af /framework
parent59750efad2071cbed9422baa700721c3935d96c8 (diff)
piglit-summary-html.py: Add glxinfo/lspci output to HTML summaries
Diffstat (limited to 'framework')
-rw-r--r--framework/core.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/core.py b/framework/core.py
index 03f8b8ae..8d6482e0 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -269,11 +269,10 @@ class Environment:
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdout,stderr) = p.communicate();
return stderr+stdout
- print >>self.file, "glxinfo:", encode(stderr+stdout)
def collectData(self):
- print >>self.file, "glxinfo:", encode(self.run('glxinfo'))
- print >>self.file, "lspci:", encode(self.run('lspci'))
+ print >>self.file, "glxinfo:", '@@@' + encode(self.run('glxinfo'))
+ print >>self.file, "lspci:", '@@@' + encode(self.run('lspci'))
class Test: