Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
64959754
Commit
64959754
authored
Oct 03, 2018
by
Thomas Laurent
Browse files
changed CI for ulsim and fixed one bug in ulsim options parsing
parent
de236276
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/test_case_list.xml
View file @
64959754
...
...
@@ -990,12 +990,12 @@
<pre_exec>$OPENAIR_DIR/cmake_targets/autotests/tools/free_mem.bash</pre_exec>
<pre_exec_args></pre_exec_args>
<main_exec> $OPENAIR_DIR/targets/bin/ulsim.Rel14</main_exec>
<main_exec_args> -B25 -m5 -y
1 -gN -x
1 -s6 -w
1.0 -e.1 -P -n
500 -O70
-B25 -m16 -y
1 -gN -x
1 -s12 -w
1.0 -e.1 -P -n
500 -O70
-B50 -m5 -y
1 -gN -x
1 -s6 -w
1.0 -e.1 -P -n
500 -O70
-B50 -m16 -y
1 -gN -x
1 -s12 -w
1.0 -e.1 -P -n
500 -O70
-B100 -m5 -y
1 -gN -x
1 -s6 -w
1.0 -e.1 -P -n
500 -O70
-B100 -m16 -y
1 -gN -x
1 -s12 -w
1.0 -e.1 -P -n
500 -O70 </main_exec_args>
<main_exec_args> -B
nbRBs=
25 -m
cs=
5 -y
N_rx=1 -gchannel=N -xTransmission=
1 -s
nr=
6 -w
snrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=
500 -O
perf=
70
-B
nbRBs=
25 -m
cs=
16 -y
N_rx=1 -gchannel=N -xTransmission=
1 -s
nr=
12 -w
snrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=
500 -O
perf=
70
-B
nbRBs=
50 -m
cs=
5 -y
N_rx=1 -gchannel=N -xTransmission=
1 -s
nr=
6 -w
snrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=
500 -O
perf=
70
-B
nbRBs=
50 -m
cs=
16 -y
N_rx=1 -gchannel=N -xTransmission=
1 -s
nr=
12 -w
snrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=
500 -O
perf=
70
-B
nbRBs=
100 -m
cs=
5 -y
N_rx=1 -gchannel=N -xTransmission=
1 -s
nr=
6 -w
snrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=
500 -O
perf=
70
-B
nbRBs=
100 -m
cs=
16 -y
N_rx=1 -gchannel=N -xTransmission=
1 -s
nr=
12 -w
snrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=
500 -O
perf=
70 </main_exec_args>
<tags>ulsim.test1 ulsim.test2 ulsim.test3 ulsim.test4 ulsim.test5 ulsim.test6</tags>
<search_expr_true>"passed"</search_expr_true>
<search_expr_false>segmentation fault|assertion|exiting|fatal</search_expr_false>
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
64959754
...
...
@@ -487,7 +487,7 @@ int main(int argc, char **argv) {
{
"mcs"
,
"The MCS to use"
,
0
,
iptr
:&
mcs
,
defintval
:
10
,
TYPE_INT
,
0
},
{
"nb_frame"
,
"number of frame in a test"
,
0
,
iptr
:&
n_frames
,
defintval
:
1
,
TYPE_INT
,
0
},
{
"snr"
,
"starting snr"
,
0
,
dblptr
:&
snr0
,
defdblval
:-
2
.
9
,
TYPE_DOUBLE
,
0
},
{
"w
_
snr
_in
t"
,
"snr int ?"
,
0
,
dblptr
:&
snr_int
,
defdblval
:
30
,
TYPE_DOUBLE
,
0
},
{
"wsnr
Interrup
t"
,
"snr int ?"
,
0
,
dblptr
:&
snr_int
,
defdblval
:
30
,
TYPE_DOUBLE
,
0
},
{
"e_snr_step"
,
"step increasint snr"
,
0
,
dblptr
:&
input_snr_step
,
defdblval
:
0
.
2
,
TYPE_DOUBLE
,
0
},
{
"rb_dynamic"
,
"number of rb in dynamic allocation"
,
0
,
iptr
:
NULL
,
defintval
:
0
,
TYPE_INT
,
0
},
{
"first_rb"
,
"first rb used in dynamic allocation"
,
0
,
iptr
:&
first_rb
,
defintval
:
0
,
TYPE_INT
,
0
},
...
...
@@ -608,10 +608,11 @@ int main(int argc, char **argv) {
};
struct
tmp
*
ptr
;
for
(
ptr
=
tmp
;
tmp
->
opt
!=
0
;
ptr
++
)
for
(
ptr
=
tmp
;
ptr
->
opt
!=
0
;
ptr
++
)
if
(
ptr
->
opt
==
optarg
[
0
]
)
{
channel_model
=
ptr
->
m
;
chMod
=
ptr
->
M
;
break
;
}
AssertFatal
(
ptr
->
opt
!=
0
,
"Unsupported channel model: %s !
\n
"
,
optarg
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment