Mesa (master): Add expected file for 095-recursive-define test case.

Carl Worth cworth at kemper.freedesktop.org
Thu Apr 14 16:21:12 PDT 2011


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

Author: Carl Worth <cworth at cworth.org>
Date:   Thu Apr 14 16:18:35 2011 -0700

Add expected file for 095-recursive-define test case.

It's clear enough that the current segmentation fault isn't what we
want. And it's also very easy to know what we do want here, (just
check with any functional C preprocessor such as "gcc -E").

Add the desired output as an expected file so that the test suite
gives useful output, (showing the omitted output and the segfault),
rather than just reporting "No such file" for the expected file.

---

 .../glcpp/tests/095-recursive-define.c.expected    |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glcpp/tests/095-recursive-define.c.expected b/src/glsl/glcpp/tests/095-recursive-define.c.expected
new file mode 100644
index 0000000..c7aa18f
--- /dev/null
+++ b/src/glsl/glcpp/tests/095-recursive-define.c.expected
@@ -0,0 +1,4 @@
+
+
+B(0, C)
+



More information about the mesa-commit mailing list