Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2015.12 - RC1 #10

Closed
16 of 34 tasks
miri64 opened this issue Dec 19, 2015 · 13 comments
Closed
16 of 34 tasks

Release 2015.12 - RC1 #10

miri64 opened this issue Dec 19, 2015 · 13 comments

Comments

@miri64
Copy link
Member

miri64 commented Dec 19, 2015

This issue lists the status of all tests for the Release Candidate 1 of the 2015.12 release.

Specs tested:

@miri64 miri64 mentioned this issue Dec 19, 2015
15 tasks
@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

For all testers: this issue refers to commit RIOT-OS/RIOT@8ec1fd4.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

I'm testing 01-CI right now.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

And 03.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

While 03.03 is running (takes 1h) I'm taking doing 04.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

I use the following patch to test 06:

diff --git a/examples/gnrc_networking/udp.c b/examples/gnrc_networking/udp.c
index af10651..926a1ae 100644
--- a/examples/gnrc_networking/udp.c
+++ b/examples/gnrc_networking/udp.c
@@ -30,7 +30,7 @@
 #include "xtimer.h"

 static gnrc_netreg_entry_t server = { NULL, GNRC_NETREG_DEMUX_CTX_ALL, KERNEL_PID_UNDEF };
-
+static uint16_t data_buffer[512];

 static void send(char *addr_str, char *port_str, char *data, unsigned int num,
                  unsigned int delay)
@@ -38,6 +38,11 @@ static void send(char *addr_str, char *port_str, char *data, unsigned int num,
     uint8_t port[2];
     uint16_t tmp;
     ipv6_addr_t addr;
+    data = (char *)&data_buffer[0];
+
+    for (uint16_t i = 0; i < 512; i++) {
+        data[i] = i;
+    }

     /* parse destination address */
     if (ipv6_addr_from_str(&addr, addr_str) == NULL) {
@@ -56,7 +61,7 @@ static void send(char *addr_str, char *port_str, char *data, unsigned int num,
     for (unsigned int i = 0; i < num; i++) {
         gnrc_pktsnip_t *payload, *udp, *ip;
         /* allocate payload */
-        payload = gnrc_pktbuf_add(NULL, data, strlen(data), GNRC_NETTYPE_UNDEF);
+        payload = gnrc_pktbuf_add(NULL, data, sizeof(data_buffer), GNRC_NETTYPE_UNDEF);
         if (payload == NULL) {
             puts("Error: unable to copy data to packet buffer");
             return;

@A-Paul
Copy link
Member

A-Paul commented Dec 19, 2015

Some words to 02-Tests Task 1
For every directory wih a main.c that is @ingoup tests I compiled and ran make term.
For a bunch of tests I hope they succeeded, but there were no information how to distinguish the output.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

For many there are pexpect scripts in a subdirectory (typically tests). They describe, what the test expects.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

And you mean 02 instead of 01, right?

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

And thanks for testing :-)

@A-Paul
Copy link
Member

A-Paul commented Dec 19, 2015

And you mean 02 instead of 01, right?

Yes! Corrected.

@A-Paul
Copy link
Member

A-Paul commented Dec 19, 2015

For many there are pexpect scripts in a subdirectory (typically tests)

Well, at least a handfull. ;-)

paul@hedon:/usr/local/src/RIOT/tests$ find . -type d -name tests
./pthread_cleanup/tests
./posix_semaphore/tests
./msg_send_receive/tests
./thread_basic/tests
./shell/tests
./xtimer_msg_receive_timeout/tests

But those were already fairly obvious. All succeeded btw.

@miri64
Copy link
Member Author

miri64 commented Dec 19, 2015

Well then there is something we have as a target for next release: improve test automation :-D

@miri64
Copy link
Member Author

miri64 commented Dec 23, 2015

Closed in favor of #11

This was referenced Apr 23, 2021
@kaspar030 kaspar030 mentioned this issue May 6, 2021
88 tasks
@MrKevinWeiss MrKevinWeiss mentioned this issue Jul 2, 2021
88 tasks
This was referenced Jul 8, 2021
@benpicco benpicco mentioned this issue Sep 29, 2021
88 tasks
This was referenced Oct 18, 2021
This was referenced Apr 8, 2022
This was referenced Apr 16, 2022
@chrysn chrysn mentioned this issue Jul 18, 2022
88 tasks
@chrysn chrysn mentioned this issue Aug 1, 2022
88 tasks
@chrysn chrysn mentioned this issue Aug 9, 2022
88 tasks
@chrysn chrysn mentioned this issue Aug 24, 2022
88 tasks
@miri64 miri64 mentioned this issue Oct 14, 2022
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants