aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/nanopb/tests/regression/issue_227
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-02 18:29:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-02 18:29:37 +0200
commitb9e1b4435a406a8a27c078ea05dee1240e51704a (patch)
tree3bd5e75d001d0c1d57710c47375af5c8ba84c26c /CAN-binder/libs/nanopb/tests/regression/issue_227
parent0242c26c2f5dc96387bca7efb118364c800f4ee7 (diff)
Added external libraries from openXC CMake files.
Now libraries are cleanly included and built. Change-Id: Iaa85639578b55b2da8357bc438426403e2cca8de Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/libs/nanopb/tests/regression/issue_227')
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_227/SConscript14
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.c14
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.proto8
3 files changed, 0 insertions, 36 deletions
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_227/SConscript b/CAN-binder/libs/nanopb/tests/regression/issue_227/SConscript
deleted file mode 100644
index 10741240..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_227/SConscript
+++ /dev/null
@@ -1,14 +0,0 @@
-# Regression test for Issue 227:Using proto3 type fields can cause unaligned access
-# NOTE: This test will only detect problems when run with clang sanitizer (which
-# is done regularly by a jenkins run).
-
-Import('env')
-
-env.NanopbProto('unaligned_uint64')
-
-p = env.Program(["unaligned_uint64.c",
- "unaligned_uint64.pb.c",
- "$COMMON/pb_encode.o",
- "$COMMON/pb_common.o"])
-env.RunTest(p)
-
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.c b/CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.c
deleted file mode 100644
index 17c1d779..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "unaligned_uint64.pb.h"
-#include <pb_encode.h>
-
-int main()
-{
- uint8_t buf[128];
- pb_ostream_t stream = pb_ostream_from_buffer(buf, sizeof(buf));
- MainMessage msg = MainMessage_init_zero;
- msg.bar[0] = 'A';
- pb_encode(&stream, MainMessage_fields, &msg);
-
- return 0;
-}
-
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.proto b/CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.proto
deleted file mode 100644
index f0269f60..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_227/unaligned_uint64.proto
+++ /dev/null
@@ -1,8 +0,0 @@
-syntax = "proto3";
-import 'nanopb.proto';
-
-message MainMessage {
- string foo = 1 [(nanopb).max_size = 3];
- string bar = 2 [(nanopb).max_size = 8];
-}
-