diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 10 | ||||
-rw-r--r-- | test/crashtest1-01.txt (renamed from test/crashtest1.txt) | 0 | ||||
-rw-r--r-- | test/test1-01.txt (renamed from test/test1.txt) | 0 | ||||
-rw-r--r-- | test/test1-02.txt | 284 |
4 files changed, 290 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile index ca9a46d..0a2eb36 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -.PHONY: test1 crashtest1 all allcrash clean +.PHONY: test1 test2 crashtest1 all allcrash clean .NOTPARALLEL: all allcrash CC := gcc-5 @@ -7,7 +7,7 @@ CXX := g++-5 PLUGIN = ../build/src/.libs/astdumper.so CMD = ${CXX} -fplugin=${PLUGIN} -fplugin-arg-astdumper-command=${1} ${2} -o a.out 2>${3} -all: test1 allcrash clean +all: test1 test2 allcrash clean allcrash: crashtest1 @@ -15,7 +15,9 @@ clean: @rm a.out 2>/dev/null || true test1: - $(call CMD,dump,test1.c,test1.txt) + $(call CMD,dump,test1.c,test1-01.txt) +test2: + $(call CMD,smalldump,test1.c,test1-02.txt) crashtest1: - $(call CMD,dump,crashtest1.h,crashtest1.txt) + $(call CMD,dump,crashtest1.h,crashtest1-01.txt) diff --git a/test/crashtest1.txt b/test/crashtest1-01.txt index ff9f5af..ff9f5af 100644 --- a/test/crashtest1.txt +++ b/test/crashtest1-01.txt diff --git a/test/test1.txt b/test/test1-01.txt index 0f9f533..0f9f533 100644 --- a/test/test1.txt +++ b/test/test1-01.txt diff --git a/test/test1-02.txt b/test/test1-02.txt new file mode 100644 index 0000000..908e7d4 --- /dev/null +++ b/test/test1-02.txt @@ -0,0 +1,284 @@ +function_decl test1.c +tree_list +identifier_node +function_type +void_type +type_decl <built-in> +tree_list +identifier_node +tree_list +integer_cst +tree_list +integer_cst +tree_list +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +void_type +type_decl <built-in> +tree_list +void_type +type_decl <built-in> +result_decl test1.c +void_type +type_decl <built-in> +parm_decl test1.c +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +parm_decl test1.c +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +statement_list +cleanup_point_expr +cleanup_point_expr +function_decl test1.c +function_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +void_type +type_decl <built-in> +result_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +statement_list +bind_expr +var_decl test1.c +integer_cst +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +statement_list +cleanup_point_expr +decl_expr +var_decl test1.c +integer_cst +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +cleanup_point_expr +return_expr +init_expr +result_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +integer_cst +return_expr +init_expr +result_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +integer_cst +function_decl test1.c +function_type +void_type +type_decl <built-in> +tree_list +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +void_type +type_decl <built-in> +tree_list +void_type +type_decl <built-in> +result_decl test1.c +void_type +type_decl <built-in> +parm_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +parm_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +function_decl test1.c +function_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +pointer_type +pointer_type +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +void_type +type_decl <built-in> +tree_list +void_type +type_decl <built-in> +result_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +parm_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +parm_decl test1.c +pointer_type +pointer_type +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +bind_expr +var_decl test1.c +integer_cst +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +statement_list +cleanup_point_expr +decl_expr +var_decl test1.c +integer_cst +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +cleanup_point_expr +decl_expr +var_decl test1.c +integer_cst +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +cleanup_point_expr +cleanup_point_expr +function_decl test1.c +function_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +tree_list +void_type +type_decl <built-in> +result_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +parm_decl test1.c +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +return_expr +init_expr +result_decl test1.c +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst +convert_expr +parm_decl test1.c +pointer_type +integer_type +type_decl <built-in> +integer_cst +integer_cst +integer_cst +integer_cst |