[Piglit] [RFC 1/2] util: remove couple of asserts from piglit-framework-gl

Tapani Pälli tapani.palli at intel.com
Fri Oct 21 06:51:44 UTC 2016


Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 tests/util/piglit-framework-gl.c | 1 -
 tests/util/piglit-framework-gl.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/tests/util/piglit-framework-gl.c b/tests/util/piglit-framework-gl.c
index 001b23a..4b5d96b 100644
--- a/tests/util/piglit-framework-gl.c
+++ b/tests/util/piglit-framework-gl.c
@@ -201,7 +201,6 @@ piglit_gl_test_run(int argc, char *argv[],
 
 	atexit(destroy);
 	gl_fw->run_test(gl_fw, argc, argv);
-	assert(false);
 }
 
 void
diff --git a/tests/util/piglit-framework-gl.h b/tests/util/piglit-framework-gl.h
index ecf5b5c..0c2c43d 100644
--- a/tests/util/piglit-framework-gl.h
+++ b/tests/util/piglit-framework-gl.h
@@ -277,8 +277,6 @@ piglit_gl_test_run(int argc, char *argv[],
                                                                              \
                 piglit_gl_process_args(&argc, argv, &config);                \
                 piglit_gl_test_run(argc, argv, &config);                     \
-                                                                             \
-                assert(false);                                               \
                 return 0;                                                    \
         }
 
-- 
2.7.4



More information about the Piglit mailing list