Mesa (master): Add an expected file for 093-divide-by-zero

Carl Worth cworth at kemper.freedesktop.org
Thu Apr 14 14:43:20 PDT 2011


Module: Mesa
Branch: master
Commit: ea3b2560b1dd0585fcf82a5d3179826374ae03b2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea3b2560b1dd0585fcf82a5d3179826374ae03b2

Author: Carl Worth <cworth at cworth.org>
Date:   Thu Apr 14 14:29:34 2011 -0700

Add an expected file for 093-divide-by-zero

This test is behaving just fine already---it's generating an informative
diagnostic, ("error: division by 0 in preprocessor directive"), so adding
this in the expected file makes things pass.

---

 src/glsl/glcpp/tests/093-divide-by-zero.c.expected |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glcpp/tests/093-divide-by-zero.c.expected b/src/glsl/glcpp/tests/093-divide-by-zero.c.expected
new file mode 100644
index 0000000..08f183f
--- /dev/null
+++ b/src/glsl/glcpp/tests/093-divide-by-zero.c.expected
@@ -0,0 +1,4 @@
+0:1(13): preprocessor error: division by 0 in preprocessor directive
+
+
+



More information about the mesa-commit mailing list