From: Mathieu Desnoyers Date: Thu, 24 Feb 2011 18:31:44 +0000 (-0500) Subject: Add AST tests X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=53afed8b3837de45a017534c34745b32593cf374;p=deliverable%2Fbabeltrace.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 000000000..54128f4e0 --- /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 000000000..63d44dd4d --- /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 000000000..072d9b46d --- /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 000000000..b076af5d6 --- /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 000000000..71e692e14 --- /dev/null +++ b/formats/ctf/metadata/ctf-test/fail/variant-with-non-text-left.txt @@ -0,0 +1 @@ +variant test { 555 = test };