From 32e25cbca210a359b09768537b6f443fe90a3070 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 20 Jun 2017 10:24:05 +0000 Subject: Separation Generator to a dedicated repo Change-Id: Id94831651c3266861435272a6e36c7884bef2c45 Signed-off-by: Romain Forlot --- .../libs/nanopb/tests/regression/issue_172/SConscript | 16 ---------------- .../libs/nanopb/tests/regression/issue_172/msg_size.c | 9 --------- .../regression/issue_172/submessage/submessage.options | 1 - .../regression/issue_172/submessage/submessage.proto | 4 ---- .../libs/nanopb/tests/regression/issue_172/test.proto | 6 ------ 5 files changed, 36 deletions(-) delete mode 100644 CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript delete mode 100644 CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c delete mode 100644 CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options delete mode 100644 CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto delete mode 100644 CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto (limited to 'CAN-binder/libs/nanopb/tests/regression/issue_172') diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript b/CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript deleted file mode 100644 index 49c919e..0000000 --- a/CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript +++ /dev/null @@ -1,16 +0,0 @@ -# Verify that _size define is generated for messages that have -# includes from another directory. - -Import('env') - -incpath = env.Clone() -incpath.Append(PROTOCPATH="#regression/issue_172/submessage") -incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage") -incpath.NanopbProto('test') -incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options']) - -p = incpath.Program(["msg_size.c", - "test.pb.c", - "submessage/submessage.pb.c"]) - - diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c b/CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c deleted file mode 100644 index be45acb..0000000 --- a/CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c +++ /dev/null @@ -1,9 +0,0 @@ -#include "test.pb.h" - -PB_STATIC_ASSERT(testmessage_size >= 1+1+1+1+16, TESTMESSAGE_SIZE_IS_WRONG) - -int main() -{ - return 0; -} - diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options b/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options deleted file mode 100644 index 12fb198..0000000 --- a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options +++ /dev/null @@ -1 +0,0 @@ -submessage.data max_size: 16 diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto b/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto deleted file mode 100644 index ce6804a..0000000 --- a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto +++ /dev/null @@ -1,4 +0,0 @@ -syntax = "proto2"; -message submessage { - required bytes data = 1; -} diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto b/CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto deleted file mode 100644 index fbd97be..0000000 --- a/CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto +++ /dev/null @@ -1,6 +0,0 @@ -syntax = "proto2"; -import "submessage.proto"; - -message testmessage { - optional submessage sub = 1; -} -- cgit 1.2.3-korg