Test some corner cases of loop analysis.

As of Mesa d7fa9eb, two of these tests are known to fail:

- vs-call-in-nested-loop.shader_test
- vs-inner-loop-modifies-outer-loop-var.shader_test
Test that all layered framebuffer attachments must be of the same type.

As of commit ec79c05, mesa checks that all layered framebuffer
attachments have the same layer count (which is actually
incorrect--layered framebuffer attachments are allowed to have
different layer counts), but it does not check that all layered
framebuffer attachments have the same type.

Therefore, to exercise this bug, we need a test which uses two layered
attachments with different types but the same layer count.  In this
test, one attachment is a cube map (which by its nature has 6 layers),
and the other is a 2D array texture with 6 layers.

This test is known to fail with Mesa commit ec79c05.
Test a geometry shader that does an item-by-item copy of gl_ClipDistance.

This is similar to the existing test "clip-distance-bulk-copy", except
that it copies the elements of gl_ClipDistance one at a time instead
of as a bulk assignment.

This test is known to crash with Mesa as of commit ec79c05.
Test that a layered fbo can have attachments with different layer counts.
Revert "framework: Add support for a test timeout"

This reverts commit ab2eb660925e3680e868c5f469a4ef32e6dd9a59.

Conflicts:
	framework/status.py