[llvm-commits] CVS: llvm/test/Regression/TableGen/CStyleComment.td Makefile UnterminatedComment.td
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 30 14:41:08 PDT 2003
Changes in directory llvm/test/Regression/TableGen:
CStyleComment.td added (r1.1)
Makefile added (r1.1)
UnterminatedComment.td added (r1.1)
---
Log message:
Initial tests for tblgen
---
Diffs of the changes:
Index: llvm/test/Regression/TableGen/CStyleComment.td
diff -c /dev/null llvm/test/Regression/TableGen/CStyleComment.td:1.1
*** /dev/null Wed Jul 30 14:40:11 2003
--- llvm/test/Regression/TableGen/CStyleComment.td Wed Jul 30 14:40:00 2003
***************
*** 0 ****
--- 1,14 ----
+ // Test that multiline, nested, comments work correctly.
+ //
+ // RUN: tblgen < %s
+
+ /* Foo
+ bar
+ /*
+ blah
+ */
+
+ stuff
+ */
+
+ def x;
Index: llvm/test/Regression/TableGen/Makefile
diff -c /dev/null llvm/test/Regression/TableGen/Makefile:1.1
*** /dev/null Wed Jul 30 14:40:11 2003
--- llvm/test/Regression/TableGen/Makefile Wed Jul 30 14:40:00 2003
***************
*** 0 ****
--- 1,10 ----
+
+ LEVEL = ../../..
+ include $(LEVEL)/test/Makefile.tests
+
+ TESTS := $(wildcard *.td)
+
+ all:: $(addprefix Output/, $(TESTS:%=%.out))
+
+ Output/%.out: % Output/.dir $(TBLGEN)
+ -$(TESTRUNR) $<
Index: llvm/test/Regression/TableGen/UnterminatedComment.td
diff -c /dev/null llvm/test/Regression/TableGen/UnterminatedComment.td:1.1
*** /dev/null Wed Jul 30 14:40:11 2003
--- llvm/test/Regression/TableGen/UnterminatedComment.td Wed Jul 30 14:40:00 2003
***************
*** 0 ****
--- 1,6 ----
+ // RUN: not tblgen < %s
+
+ def x;
+
+ /* /* /* */
+
More information about the llvm-commits
mailing list