From 6df0715a721924e9fbc8f4fdbbe7deb9c186de56 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 9 Oct 2019 13:27:00 +0200 Subject: [PATCH] :art: Update import tests --- tests/import/array.c | 1 + tests/import/begin_class.c | 1 + tests/import/callback.c | 1 + tests/import/class_template.c | 1 + tests/import/coverage.c | 1 + tests/import/empty_union.c | 1 + tests/import/end_class.c | 1 + tests/import/enum.c | 1 + tests/import/extend_array.c | 1 + tests/import/extend_event.c | 1 + tests/import/extend_pair.c | 1 + tests/import/fptr.c | 1 + tests/import/global_func.c | 1 + tests/import/global_var.c | 1 + tests/import/invalid_arg.c | 1 + tests/import/invalid_array.c | 1 + tests/import/invalid_func.c | 1 + tests/import/invalid_type1.c | 1 + tests/import/invalid_type2.c | 1 + tests/import/invalid_type3.c | 1 + tests/import/no_import.c | 1 + tests/import/op_already_imported.c | 1 + tests/import/specialid_emit.c | 1 + tests/import/static_string.c | 1 + tests/import/template_arg.c | 2 +- tests/import/typedef.c | 1 + tests/import/union.c | 1 + tests/import/variadic.c | 1 + 28 files changed, 28 insertions(+), 1 deletion(-) diff --git a/tests/import/array.c b/tests/import/array.c index 33598c72..c61cc5c2 100644 --- a/tests/import/array.c +++ b/tests/import/array.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/begin_class.c b/tests/import/begin_class.c index 7f7eda3c..3114c1ea 100644 --- a/tests/import/begin_class.c +++ b/tests/import/begin_class.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/callback.c b/tests/import/callback.c index fd4a3785..064a90f3 100644 --- a/tests/import/callback.c +++ b/tests/import/callback.c @@ -8,6 +8,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "func.h" diff --git a/tests/import/class_template.c b/tests/import/class_template.c index 68c1974c..bb16c823 100644 --- a/tests/import/class_template.c +++ b/tests/import/class_template.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/coverage.c b/tests/import/coverage.c index 183e2d50..73794a33 100644 --- a/tests/import/coverage.c +++ b/tests/import/coverage.c @@ -8,6 +8,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/empty_union.c b/tests/import/empty_union.c index 455a717f..9cadc1bf 100644 --- a/tests/import/empty_union.c +++ b/tests/import/empty_union.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/end_class.c b/tests/import/end_class.c index c9b9528d..586fffc4 100644 --- a/tests/import/end_class.c +++ b/tests/import/end_class.c @@ -6,6 +6,7 @@ #include "env.h" #include "type.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "object.h" #include "instr.h" diff --git a/tests/import/enum.c b/tests/import/enum.c index 0804c25d..32b63e79 100644 --- a/tests/import/enum.c +++ b/tests/import/enum.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/extend_array.c b/tests/import/extend_array.c index 3dc33f6f..2668dd98 100644 --- a/tests/import/extend_array.c +++ b/tests/import/extend_array.c @@ -9,6 +9,7 @@ #include "instr.h" #include "vm.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/extend_event.c b/tests/import/extend_event.c index 7fb83d5f..cad5df3d 100644 --- a/tests/import/extend_event.c +++ b/tests/import/extend_event.c @@ -9,6 +9,7 @@ #include "instr.h" #include "vm.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/extend_pair.c b/tests/import/extend_pair.c index ff7b582b..4aa6264a 100644 --- a/tests/import/extend_pair.c +++ b/tests/import/extend_pair.c @@ -9,6 +9,7 @@ #include "instr.h" #include "vm.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/fptr.c b/tests/import/fptr.c index 82b9f838..b6c70773 100644 --- a/tests/import/fptr.c +++ b/tests/import/fptr.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/global_func.c b/tests/import/global_func.c index e6883673..e0e35bcc 100644 --- a/tests/import/global_func.c +++ b/tests/import/global_func.c @@ -7,6 +7,7 @@ #include "instr.h" #include "object.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "instr.h" diff --git a/tests/import/global_var.c b/tests/import/global_var.c index 2526058f..95677a2d 100644 --- a/tests/import/global_var.c +++ b/tests/import/global_var.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/invalid_arg.c b/tests/import/invalid_arg.c index 815b43b6..7a834928 100644 --- a/tests/import/invalid_arg.c +++ b/tests/import/invalid_arg.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/invalid_array.c b/tests/import/invalid_array.c index d705356d..69d80841 100644 --- a/tests/import/invalid_array.c +++ b/tests/import/invalid_array.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/invalid_func.c b/tests/import/invalid_func.c index 66a116d2..6d927369 100644 --- a/tests/import/invalid_func.c +++ b/tests/import/invalid_func.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/invalid_type1.c b/tests/import/invalid_type1.c index b27e7179..e3cebb6f 100644 --- a/tests/import/invalid_type1.c +++ b/tests/import/invalid_type1.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/invalid_type2.c b/tests/import/invalid_type2.c index 05344079..dd0a8926 100644 --- a/tests/import/invalid_type2.c +++ b/tests/import/invalid_type2.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/invalid_type3.c b/tests/import/invalid_type3.c index 7d4152ef..aa48af2c 100644 --- a/tests/import/invalid_type3.c +++ b/tests/import/invalid_type3.c @@ -8,6 +8,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/no_import.c b/tests/import/no_import.c index 33e236b7..959d35c5 100644 --- a/tests/import/no_import.c +++ b/tests/import/no_import.c @@ -7,5 +7,6 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/op_already_imported.c b/tests/import/op_already_imported.c index 62f1ef20..c91bcc8b 100644 --- a/tests/import/op_already_imported.c +++ b/tests/import/op_already_imported.c @@ -9,6 +9,7 @@ #include "instr.h" #include "vm.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/specialid_emit.c b/tests/import/specialid_emit.c index 5c0d6e04..2b4305c3 100644 --- a/tests/import/specialid_emit.c +++ b/tests/import/specialid_emit.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "emit.h" diff --git a/tests/import/static_string.c b/tests/import/static_string.c index 23cd0a6c..b18749f4 100644 --- a/tests/import/static_string.c +++ b/tests/import/static_string.c @@ -8,6 +8,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "gwi.h" diff --git a/tests/import/template_arg.c b/tests/import/template_arg.c index 11d48265..5089c9d3 100644 --- a/tests/import/template_arg.c +++ b/tests/import/template_arg.c @@ -7,11 +7,11 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" static MFUN(template_arg_fun) {} - GWION_IMPORT(template_arg_test) { Type t_template_arg; CHECK_OB((t_template_arg = gwi_mk_type(gwi, "TemplateArg", SZ_INT , NULL))) diff --git a/tests/import/typedef.c b/tests/import/typedef.c index 5e08baf1..d820abcf 100644 --- a/tests/import/typedef.c +++ b/tests/import/typedef.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/union.c b/tests/import/union.c index 50fd4807..c56aefa0 100644 --- a/tests/import/union.c +++ b/tests/import/union.c @@ -7,6 +7,7 @@ #include "object.h" #include "instr.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" diff --git a/tests/import/variadic.c b/tests/import/variadic.c index ae176649..39633c8e 100644 --- a/tests/import/variadic.c +++ b/tests/import/variadic.c @@ -7,6 +7,7 @@ #include "instr.h" #include "object.h" #include "gwion.h" +#include "value.h" #include "operator.h" #include "import.h" #include "vararg.h" -- 2.43.0