Commit 70b66a86 authored by Cedric Roux's avatar Cedric Roux Committed by Robert Schmidt

nr rlc: let the tests be runnable with run_tests.sh

parent 5d0c453a
CC=gcc CC=gcc
CFLAGS=-Wall -g --coverage -I. -I../../../.. CFLAGS=-Wall -g --coverage -I. -I../../../.. -D_STANDALONE_TESTING_
LIB=nr_rlc_entity.o nr_rlc_entity_am.o nr_rlc_entity_um.o nr_rlc_entity_tm.o \ LIB=nr_rlc_entity.o nr_rlc_entity_am.o nr_rlc_entity_um.o nr_rlc_entity_tm.o \
nr_rlc_pdu.o nr_rlc_sdu.o time_stat.o nr_rlc_pdu.o nr_rlc_sdu.o time_stat.o
......
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
#ifndef _STANDALONE_TESTING_
#include "common/utils/LOG/log.h" #include "common/utils/LOG/log.h"
#endif
/* /*
* GNB_AM <rx_maxsize> <tx_maxsize> <t_poll_retransmit> <t_reassembly> * GNB_AM <rx_maxsize> <tx_maxsize> <t_poll_retransmit> <t_reassembly>
...@@ -224,7 +226,10 @@ int test_main(void) ...@@ -224,7 +226,10 @@ int test_main(void)
int ue_recv_fails = 0; int ue_recv_fails = 0;
int gnb_pdu_size = 1000; int gnb_pdu_size = 1000;
int ue_pdu_size = 1000; int ue_pdu_size = 1000;
#ifndef _STANDALONE_TESTING_
logInit(); logInit();
#endif
printf("TEST: start\n"); printf("TEST: start\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment