diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-10-18 22:38:04 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-10-18 22:38:04 +0000 |
commit | 44a4cfb63d87dc0ba778982a1796673ca1513e90 (patch) | |
tree | 812db96f331b2a915f60bd0e03fd6d225f1e3735 /test | |
parent | 630c3264a650af8e74f2b0b5ae7b57a17cb52061 (diff) | |
download | external_llvm-44a4cfb63d87dc0ba778982a1796673ca1513e90.zip external_llvm-44a4cfb63d87dc0ba778982a1796673ca1513e90.tar.gz external_llvm-44a4cfb63d87dc0ba778982a1796673ca1513e90.tar.bz2 |
[Support][YAML] Add support for accessing tags and tag handle substitution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/YAMLParser/spec-02-24.data | 7 | ||||
-rw-r--r-- | test/YAMLParser/spec-07-04.data | 4 | ||||
-rw-r--r-- | test/YAMLParser/yaml.data | 8 |
3 files changed, 16 insertions, 3 deletions
diff --git a/test/YAMLParser/spec-02-24.data b/test/YAMLParser/spec-02-24.data index 01ca7f5..56b25cb 100644 --- a/test/YAMLParser/spec-02-24.data +++ b/test/YAMLParser/spec-02-24.data @@ -1,4 +1,4 @@ -# RUN: yaml-bench -canonical %s +# RUN: yaml-bench -canonical %s | FileCheck %s %TAG ! tag:clarkevans.com,2002: --- !shape @@ -14,3 +14,8 @@ start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. + +#CHECK: !<tag:clarkevans.com,2002:shape> +#CHECK: !<tag:clarkevans.com,2002:circle> +#CHECK: !<tag:clarkevans.com,2002:line> +#CHECK: !<tag:clarkevans.com,2002:label> diff --git a/test/YAMLParser/spec-07-04.data b/test/YAMLParser/spec-07-04.data index beba7d0..2c8b2ec 100644 --- a/test/YAMLParser/spec-07-04.data +++ b/test/YAMLParser/spec-07-04.data @@ -1,5 +1,7 @@ -# RUN: yaml-bench -canonical %s +# RUN: yaml-bench -canonical %s | FileCheck %s %TAG !yaml! tag:yaml.org,2002: --- !yaml!str "foo" + +#CHECK: !!str "foo" diff --git a/test/YAMLParser/yaml.data b/test/YAMLParser/yaml.data index 3ce5e4b..4f9b294 100644 --- a/test/YAMLParser/yaml.data +++ b/test/YAMLParser/yaml.data @@ -1,5 +1,11 @@ -# RUN: yaml-bench -canonical %s +# RUN: yaml-bench -canonical %s | FileCheck %s - !!yaml '!' - !!yaml '&' - !!yaml '*' + +# CHECK: !!seq [ +# CHECK: !!yaml "!", +# CHECK: !!yaml "&", +# CHECK: !!yaml "*", +# CHECK: ] |