Add support to load multiple test profiles

This patch gives piglit run the ability to take one or more test
proflies as arguments rather than just one. It loads the profiles,
merging them from left to right, overwriting conflicting results. This
will allow the oglconform and es3conform loaders to be taken out of
all.tests.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
all.tests: Remove execfile(es3conform.tests)

This option is now redundant, since it can be given explicitely at the
commandline.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
tests/all.py: load glean glsl, frag, and vert tests internally

This patch converts the glesn glsl1, fragPrgo1, and vertProg1 tests from
external files that are called by execfile into lists of arguements, and
uses a loop to add the tests.

This removes test files that are not in fact loadable test files, and
lack a TestProfile instance, which means they will not be importable.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Rename all tests files from .tests to .py

This patch renames the .tests files to .py files; which is required for
the python interpreter to allow importing them.
tests: trest the tests folder as part of the python package

By adding __init__.py to tests folder python can search that folder for
modules to import.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
tests/sanity.tests: Make sanity.tests importable

This allows sanity.py to export a profile instance, meaning it can be
used as an import instead of an execfile.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
quick.tests: Make quick.tests import all.tests

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
tests/gpu.py: Don't use execfile

This uses import rather than exefile. It requires a few additional
changes since gpu.py uses some hacky behavior to remove shader_tests

XXX: This isn't ready to be pushed
tests/r300.py: use import instead of execfile

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
tests/r500.py use import instead of execfile

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core.py: rewrie loadTestProfile to remove execfile()

This patch removes execfile, replaceing it with import instead.

This isn't a prefect solution, but it provides feature parity with the
execfile() aproach, while being python3 safe.