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) {
|
||||
bool result;
|
||||
rlc_tx_queue q;
|
||||
byte_buffer_t *b;
|
||||
rlc_tx_queue q;
|
||||
byte_buffer_t *b;
|
||||
pthread_t thread;
|
||||
args_t args;
|
||||
u_int32_t r;
|
||||
|
@ -71,6 +71,10 @@ int main(int argc, char **argv) {
|
|||
|
||||
pthread_join(thread, NULL);
|
||||
|
||||
if (q.size() != 0 || q.size_bytes() != 0) {
|
||||
result = false;
|
||||
}
|
||||
|
||||
if(result) {
|
||||
printf("Passed\n");
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in New Issue