From e4bcfbf5dc9396545640ec1d4755bdf87ce8fb1a Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Thu, 7 May 2015 18:08:46 +0000 Subject: YAML: Enable the YAMLParser tests. This commit enables the tests located in test/YAMLParser directory. Those tests were never actually enabled, as llvm-lit didn't pick up the files with the 'data' extension. The commit renames those test files to files with the 'test' extension so that llvm-lit would find them. This commit also modifies yaml-bench so that it returns an error status if an error occurred during parsing. It also adds the '-use-color' command line option to yaml-bench (to make sure that file check matches the error messages in the output stream). This commit modifies some of the renamed tests so that they wouldn't fail. It gets rid of XFAILs and uses the 'not' command instead for some of the tests that have to fail during parsing. This commit also adds some 'FIXME' comments to a couple of tests that are supposed to fail but currently pass because of various bugs in the implementation of the yaml parser. Reviewers: Justin Bogner Differential Revision: http://reviews.llvm.org/D9448 llvm-svn: 236754 --- llvm/test/YAMLParser/scan-document-end-bug.test | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 llvm/test/YAMLParser/scan-document-end-bug.test (limited to 'llvm/test/YAMLParser/scan-document-end-bug.test') diff --git a/llvm/test/YAMLParser/scan-document-end-bug.test b/llvm/test/YAMLParser/scan-document-end-bug.test new file mode 100644 index 00000000000..7354caf8cd8 --- /dev/null +++ b/llvm/test/YAMLParser/scan-document-end-bug.test @@ -0,0 +1,5 @@ +# RUN: yaml-bench -canonical %s + +# Ticket #4 +--- +... -- cgit v1.2.3