From: Mathieu Desnoyers Date: Thu, 24 Feb 2011 18:31:44 +0000 (-0500) Subject: Add AST tests X-Git-Tag: v0.1~186 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;ds=inline;h=53afed8b3837de45a017534c34745b32593cf374;p=babeltrace.git Add AST tests Signed-off-by: Mathieu Desnoyers --- diff --git a/formats/ctf/metadata/ctf-test/fail/event-with-non-text-left.txt b/formats/ctf/metadata/ctf-test/fail/event-with-non-text-left.txt new file mode 100644 index 00000000..54128f4e --- /dev/null +++ b/formats/ctf/metadata/ctf-test/fail/event-with-non-text-left.txt @@ -0,0 +1 @@ +event { 42 = test; }; diff --git a/formats/ctf/metadata/ctf-test/fail/stream-with-non-text-left.txt b/formats/ctf/metadata/ctf-test/fail/stream-with-non-text-left.txt new file mode 100644 index 00000000..63d44dd4 --- /dev/null +++ b/formats/ctf/metadata/ctf-test/fail/stream-with-non-text-left.txt @@ -0,0 +1 @@ +stream { 42 = test; }; diff --git a/formats/ctf/metadata/ctf-test/fail/struct-with-right-range.txt b/formats/ctf/metadata/ctf-test/fail/struct-with-right-range.txt new file mode 100644 index 00000000..072d9b46 --- /dev/null +++ b/formats/ctf/metadata/ctf-test/fail/struct-with-right-range.txt @@ -0,0 +1 @@ +struct test { test = 444 ... 555; }; diff --git a/formats/ctf/metadata/ctf-test/fail/trace-with-non-text-left.txt b/formats/ctf/metadata/ctf-test/fail/trace-with-non-text-left.txt new file mode 100644 index 00000000..b076af5d --- /dev/null +++ b/formats/ctf/metadata/ctf-test/fail/trace-with-non-text-left.txt @@ -0,0 +1 @@ +trace { 42 = test; }; diff --git a/formats/ctf/metadata/ctf-test/fail/variant-with-non-text-left.txt b/formats/ctf/metadata/ctf-test/fail/variant-with-non-text-left.txt new file mode 100644 index 00000000..71e692e1 --- /dev/null +++ b/formats/ctf/metadata/ctf-test/fail/variant-with-non-text-left.txt @@ -0,0 +1 @@ +variant test { 555 = test };