mirror of https://github.com/PentHertz/srsLTE.git
extend msg queue test
This commit is contained in:
parent
65f2747a8e
commit
438892118c
|
@ -49,8 +49,8 @@ void* write_thread(void *a) {
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
bool result;
|
bool result;
|
||||||
rlc_tx_queue q;
|
rlc_tx_queue q;
|
||||||
byte_buffer_t *b;
|
byte_buffer_t *b;
|
||||||
pthread_t thread;
|
pthread_t thread;
|
||||||
args_t args;
|
args_t args;
|
||||||
u_int32_t r;
|
u_int32_t r;
|
||||||
|
@ -71,6 +71,10 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
pthread_join(thread, NULL);
|
pthread_join(thread, NULL);
|
||||||
|
|
||||||
|
if (q.size() != 0 || q.size_bytes() != 0) {
|
||||||
|
result = false;
|
||||||
|
}
|
||||||
|
|
||||||
if(result) {
|
if(result) {
|
||||||
printf("Passed\n");
|
printf("Passed\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
Loading…
Reference in New Issue