diff options
author | Dave Airlie <airlied@redhat.com> | 2010-08-30 16:47:28 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-30 16:48:44 +1000 |
commit | 14a60aad03bf8e7ee9922c81a813ee8d936851eb (patch) | |
tree | 1874907c2e13e1be8603c4126bca16d9046872f3 /tests/glean/tvertprog1.cpp | |
parent | f9c8bc1109e177b187906dc3125ac0e5b3fcf92a (diff) |
piglit/glean: split out fragprog1 and vertProg1 tests.
This makes them a lot easier to see what is going wrong on a test
by test basic, and follows what Eric did for glsl1.
It also generics the genearte-glsl1 script to take a cpp and suffix.
Diffstat (limited to 'tests/glean/tvertprog1.cpp')
-rw-r--r-- | tests/glean/tvertprog1.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/glean/tvertprog1.cpp b/tests/glean/tvertprog1.cpp index 8d955e1ef..7a4adcbac 100644 --- a/tests/glean/tvertprog1.cpp +++ b/tests/glean/tvertprog1.cpp @@ -31,6 +31,7 @@ // // See tfragprog.cpp for comments (this test is very similar). +#include <cstdlib> #include <cassert> #include <cmath> #include <cstring> @@ -1106,7 +1107,7 @@ void VertexProgramTest::runOne(MultiTestResult &r, Window &w) { // to test a single sub-test, set the name here: - const char *single = NULL; + const char *single = getenv("PIGLIT_TEST"); (void) w; setup(); |