log: Replace console output with a simpler output

This replaces the console spewer with a simpler console reporting
mechanism inspired by the output of ninja. This reduces code, remove all
singleton instances and speeds up piglit runs. There is a drawback, the
output is much more terse than the previous implementation, giving only
the following output:
[<finished>/<total>] Running Test(s): <test number>
[16008/16011] Running Test(s): 16007 16008 16009 16010

This means that one can't look at the output to readily see that all
tests are skipping or failing. However, since these problems are usually
related to environment setup, and not to piglit doing something wrong,
these should be moved to some kind of prerun check instead of relying on
user attentiveness. Since the test numbers update only when they are
completed and hung test can be spotted.

Performance examples:
Master:
./piglit-run.py -c tets/quick.tests foo 1065.64s user 373.48s system
295% cpu 8:06.35 total

With this patch:
./piglit-run.py -c tests/quick.tests foo  1045.33s user 353.20s system
315% cpu 7:23.56 total

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core: don't try to resolve the real path of the file

This makes it possible to run the summary on e.g. compressed files or
otherwise piped in with the <( ... ) shell construct.

There should be no difference between open() on a path before and after
the realpath call.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
framework: dmesg is expected to be a string, not a list of values

Since there are now also summary results in the wild with the list in
their json, handle them correctly as well instead of printing out a
stringified array.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
textureGather: add textureGatherOffsets to execution test (v2.1)

Test for checking textureGatherOffsets from ARB_gpu_shader5 works, this
is tested on the nvidia binary driver and passes.

also add to all.py.

v2.1 fix VS bits + whitespace

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Signed-off-by: Dave Airlie <airlied@redhat.com>
gtest: Fix bug introduced in 90a256411

In the mentioned commit the signature of Test.interpretResult was
changed from (self, out, returncode, results, dmesg) to (self, out,
returncode, results), however, this was not applied to GTest, which
retained the dmesg argument.

This patch fixes that bug.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>