PDA

View Full Version : Problem running test suite


da.phreak
04-20-2008, 04:34 AM
Hi !

I downloaded the phoronox test suite 0.3.1. When I try to start it, this happens:

$ ./phoronix-test-suite list-tests
PHP Warning: mime_magic: type search/400 \\input text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\section text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\setlength text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\documentstyle text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\chapter text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\documentclass text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type regex [Cc]onstant[[:space:]]+[Ss]tory text/x-inform invalid in Unknown on line 0

Fatal error: Cannot instantiate non-existent class: tandem_xmlreader in /data/sys/tmp/phoronix-test-suite/pts-core/functions/pts-functions_config.php on line 14


I've tried looking at the source, but couldn't figure out what's going wrong. Any idea ?

Michael
04-20-2008, 07:26 AM
What version of PHP are you running?

Anyways, try pulling from git http://phorogit.com/index.php?p=phoronix-test-suite.git&dl=targz to see if that copy works

da.phreak
04-20-2008, 11:19 AM
Checking the version was a good hint. It wasn't only the test suite that was broken, it was the whole php-installation. An update solved the problem.

Thanks !