translate_test: fix, reindent, and improve
authorLuca Barbieri <luca@luca-barbieri.com>
Wed, 11 Aug 2010 19:28:33 +0000 (21:28 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Wed, 11 Aug 2010 19:47:28 +0000 (21:47 +0200)
commit99cc6d70a4dc87c67f3eec9b118a853947718373
treeccc0917b3d8a49eead9a884807cd2b38a9823bd9
parent10adb7840c3a37dedc940fe593b246336eebd71e
translate_test: fix, reindent, and improve

1. Fix the segfault due to the reverted commit using the new interface
2. Reindent to Mesa 3 spaces style
3. Improve output and return success/failure with error code
4. Add much better support for testing translate_sse
src/gallium/tests/unit/translate_test.c