summaryrefslogtreecommitdiff
path: root/cesar/common/tests/tests
blob: ed9598c91915c2017603edade0706af02b7dabda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
# tests file.
#
# Define tests using the following format:
#
# path/to/test/directory:[:]
# [!|-][test name: ]command
# [!|-][test name: ]command...
#
# The commands are run in the given directory.  If the second colon is not
# present, first command is 'make -s clean'.  Commands starting with a bang
# (!) are expected to fail.  Result of commands starting with a dash (-) are
# ignored.
#
# If test name is 'cov <test_name>', lcov is run on this test if found,
# producing a file obj/<test_name>.info.

#common/make/test::
#run: ./test_make.sh

hal/arch/test/atomic:
make: make COV=y
cov test_atomic: ./obj/test_atomic

hal/phy/maximus/test:
make: make COV=y
cov test_phy_maximus: ./obj/test_phy_maximus

hal/phy/maximus/dur/test:
make: make COV=y
cov test_dur: ./obj/test_dur

hal/hle/maximus/test:
make: make COV=y
cov test_maximus_hle: ./obj/test_maximus_hle

hal/hle/test:
make: make COV=y
cov hal_hle_hal_ipmbox: ./obj/hal_hle_hal_ipmbox
cov hal_hle_ipmbox: ./obj/hal_hle_ipmbox

hal/leon/maximus/test:
make: make COV=y
cov test_maximus_timer: ./obj/test_maximus_timer

lib/test/bitstream:
make: make host.all COV=y
cov test_bitstream: ./obj/test_bitstream

lib/test/blk:
make: make COV=y
cov test_blk: ./obj/test_blk

lib/test/crc:
make: make COV=y
cov test_crc: ./obj/test_crc

lib/test/fixed:
make: make COV=y
cov test_fixed: ./obj/test_fixed

lib/test/heap:
make: make COV=y
cov test_heap: ./obj/test_heap

lib/test/list:
make: make COV=y
cov test_list: ./obj/test_list

lib/test/restrack:
make: make COV=y
cov test_restrack: ./obj/test_restrack

lib/test/rnd:
make: make COV=y
cov test_rnd: ./obj/test_rnd

lib/test/set:
make: make COV=y
cov test_set: ./obj/test_set

lib/test/slab:
make: make COV=y
cov test_slab: ./obj/test_slab

lib/test/slist:
make
run: ./obj/test_slist

lib/test/test:
make
!run: ./obj/test_test

lib/test/trace:
make: make COV=y
cov test_trace: ./obj/test_trace

lib/test/try:
make: make COV=y
cov test_try: ./obj/test_try

lib/test/read_word:
make: make COV=y
cov test_read_word: ./obj/test_read_word

lib/test/circular_buffer:
make: make COV=y
cov test_circular_buffer: ./obj/test_circular_list

lib/test/stats:
make: make COV=y
cov test_stats: ./obj/test_stats

lib/scenario/test:
make: make COV=y
cov test_scenario: ./obj/test_scenario

maximus/stationtest:
make

maximus/prototest/fcall:
make

maximus/python:
make: make COV=y
python test/test_channel.py -e ../stationtest/obj/test_station.elf -d false -t 2500000000
python test/test_cli.py
python test/test_ethernet.py -e ../stationtest/obj/test_ether.elf -d false -t 2500000000
python test/test_fsm.py
python test/test_interface.py -e ../stationtest/obj/stationtest.elf -d false -t 2500000000
python test/test_lib_cesar.py -e ../stationtest/obj/test_lib_cesar.elf -d false -t 2500000000
python test/test_lib_proto.py -u -e ../prototest/fcall/obj/test_fcall.elf -t 2500000000
python test/test_macframe.py -e ../stationtest/obj/test_send.elf -d false -t 2500000000
python test/test_mme.py -e ../stationtest/obj/stationtest.elf -d false -t 2500000000
python test/test_result.py
python test/test_simu.py -e ../stationtest/obj/stationtest.elf -d false -t 2500000000
python test/test_station.py -e ../stationtest/obj/test_station.elf -d false -t 2500000000
python test/test_utils.py
python py/script_example.py -e ../stationtest/obj/stationtest.elf -d false -t 2500000000
python py/test_cb.py -e ../stationtest/obj/test_cb.elf -d false -t 2500000000
python py/test_send_mpdu.py -e ../stationtest/obj/test_send.elf -d false -t 2500000000
python py/test_send_noise.py -e ../stationtest/obj/test_send.elf -d false -t 2500000000
python py/test_tx_rx.py -e ../stationtest/obj/test_tx_rx.elf -d false -t 2500000000
python py/test_ether.py -e ../stationtest/obj/test_ether.elf -d false -t 2500000000
python py/test_false_alarm.py -e ../stationtest/obj/test_false_alarm.elf -d false -t 2500000000

hal/phy/test/phy:
make
cd py/test_phy && perl regs2py.pl ../../../../inc
run: python py/all.py -d false -t 2500000000

mac/ca/test/ca:
make: make COV=y
cov test_ca: ./obj/test_ca

mac/ca/test/ca_eoc:
make: make COV=y
cov test_ca_eoc: ./obj/test_ca

mac/common/test/pb:
make
run: ./obj/test_pb

mac/common/test/store:
make: make COV=y
cov test_store: ./obj/test_store

mac/common/test/tonemap:
make: make COV=y
cov test_tonemap: ./obj/test_tonemap

mac/design/test/mfs_tx:
make

mac/design/test/mfs_tx2:
make

mac/design/test/sacki:
make
run: ./obj/test_sacki

mac/pbproc/test/fc:
make: make COV=y
cov test_fc: ./obj/test_fc

mac/pbproc/test/fsm:
make: make COV=y
cov test_fsm: ./obj/test_fsm

mac/pbproc/test/mfs:
make: make COV=y
cov test_mfs: ./obj/test_mfs

mac/pbproc/test/pbproc:
make: make COV=y
cov test_pbproc: ./obj/test_pbproc

mac/pbproc/test/pbproc_eoc:
make: make COV=y
cov test_pbproc_eoc: ./obj/test_pbproc

mac/pbproc/test/int:
make
run: python py/host_test_pbproc.py --maximus
run: python py/test_coll.py --maximus

mac/pbproc/test/sacki:
make: make COV=y
cov test_sacki: ./obj/test_sacki

mac/sar/test/unit_test/ecos:
make: make COV=y
cov-target lib_sar_expiration: ./obj/lib_sar_expiration.elf
cov-target reassembly_create_mfs: ./obj/reassembly_create_mfs.elf
cov-target reassembly_measurement: ./obj/reassembly_measurement.elf
cov-target reassembly_mfs_update_expiration_date: ./obj/reassembly_mfs_update_expiration_date.elf
cov-target sar_call_back_ul: ./obj/sar_call_back_ul.elf
cov-target sar_mfs_resising: ./obj/sar_mfs_resising.elf
cov-target sar_sta_remove: ./obj/sar_remove_sta.elf
cov-target sar_work_get: ./obj/sar_work_get.elf
cov-target activate: ./obj/activate.elf

mac/sar/test/unit_test/host:
make: make COV=y
cov bridgedma_list: ./obj/bridgedma_list
cov lib_sar_mf: ./obj/lib_sar_mf

mac/sar/test/functional:
make host
reassembly: ./obj/host/sar_rx.elf
segmentation: ./obj/host/sar_tx.elf

cl/test:
make: make COV=y
cov cl_mactotei_api: ./obj/cl_mactotei_api
cov cl_recv_data: ./obj/cl_recv_data
cov cl_send_data: ./obj/cl_send_data
cov cl_send_mme: ./obj/cl_send_mme
cov cl_recv_mme: ./obj/cl_recv_mme

cl/test/functional:
make host
cl: ./obj/host/cl.elf

cl/test/mac_lookup_table:
make: make COV=y
cov mac_lookup_table: ./obj/mac_lookup_table

cl/test/bridge_table:
make: make COV=y
cov bridge_table: ./obj/bridge_table

cl/test/data_rate:
make: make COV=y
cov data_rate: ./obj/data_rate

ce/tx/test:
make: make COV=y
cov ce_tx_test_mme: ./obj/test_mme
cov ce_tx_test_expiration: ./obj/test_expiration

ce/rx/test:
make: make COV=y
cov-target ce_rx_test_rx: ./obj/test_rx.elf

ce/rx/bitloading/test:
make: make COV=y host
cov ce_rx_bl_host: ./obj/host/test_ce_host

ce/rx/cp/test:
make: make
ce_rx_cp_test_me: ./obj/test_mme.elf
ce_rx_cp_test_mbox: ./obj/test_mbox

maximus/unittest:
make: make COV=y
obj/unittest -e ../stationtest/obj/stationtest.elf

maximus/usertest:
make: make COV=y
obj/usertest -e ../stationtest/obj/stationtest.elf -d false -t 2500000000

test_general/maximus/integration/cl-sar-pbproc:
make
python test1.py -d false -t 2500000000

test_general/maximus/integration/sar-pbproc:
make
python test1.py -d false -t 2500000000
python test2.py -d false -t 2500000000

test_general/maximus/integration/hle-cl-sar-pbproc:
make
python test1.py -d false -t 2500000000

test_general/maximus/integration/ipmbox-hle-cl-sar-pbproc:
make
python test1.py -d false -t 2500000000
python test2.py -d false -t 2500000000

test_general/maximus/integration/interface-dp:
make
python test1.py -d false -t 2500000000

interface/sniffer/test:
make
sniffer: ./obj/test-sniffer

interface/test:
make: make synth
interface: ./obj/synth/test-interface.elf

hle/test/:
make: make COV=y
hle_recv_from_arm: ./obj/host/hle_recv_from_arm
hle_send_to_arm: ./obj/host/hle_send_to_arm
interface_send: ./obj/host/interface_send

host/test:
make: make COV=y
./obj/test_host

host/sci/cesar/test:
make: make COV=y
./obj/test_sci_cesar

interface/fcall/test:
make: make COV=y
./obj/test_interface_fcall

hal/phy/test/bridgedma-soft:
make: make synth
bridgedma-proto: ./obj/synth/test-bridgedma-proto.elf
bridgedma-tx: ./obj/synth/test-bridgedma-proto-tx.elf
bridgedma-rx: ./obj/synth/test-bridgedma-proto-rx.elf
bridgedma-crc: ./obj/synth/test-bridgedma-proto-crc.elf

cp/test/mme:
make: make COV=y host.all
cov test_mme: ./obj/test_mme

cp/fsm/test/utest:
make: make COV=y
cov test_fsm: ./obj/test_fsm

cp/sta/action/test/utest:
make: make COV=y
cov test_sta_action: ./obj/test_sta_action

cp/sta/mgr/test:
make
net_list: ./obj/net_list_test
net: ./obj/net_test
station: ./obj/station_test
sta_mgr: obj/sta_mgr
sta_own: obj/sta_own

cp/cco/action/test:
make
action: ./obj/action.elf
garbage: ./obj/garbage.elf
status: ./obj/status.elf
keys: ./obj/keys.elf

cp/cco/action/test/utest:
make
action: ./obj/test_cco_action

cp/pwl/test:
make
pwl: ./obj/pwl.elf
pwl_new_beacon: ./obj/pwl_new_beacon_period.elf

cp/beacon/test:
make
beacon: ./obj/beacon.elf
bentry: ./obj/bentry.elf
discover: ./obj/discover_process.elf
schedules: ./obj/schedules.elf

cp/msg/test:
make: make COV=y
read-header: ./obj/test-msg-read-header
cc-msg: ./obj/test-msg-cc
cm-msg: ./obj/test-msg-cm
frag_mme: ./obj/test_frag_mme
cm-drv: ./obj/test_drv_msg
discover_list: ./obj/test_cc_discover_list
relay: ./obj/relay
vs-msg: ./obj/test_vs_msg

cp/secu/test:
make: make -f host-Makefile COV=y
sha256: ./obj/host/test-sha2
aes128: ./obj/host/test-aes
prun: ./obj/host/test-prun
nmk: ./obj/host/test-nmk

cp/cl_interf/test:
make
cl_interf: ./obj/test-cl-interf.elf

cp/sta/core/test:
make simu
core: ./obj/simu/core.elf
core_event: ./obj/simu/core_events.elf
core_thread: ./obj/simu/core_thread.elf
core_timer: ./obj/simu/core_timer.elf

test_general/station/cco0/s1:
make
init: python py/init.py  -d false -t 2500000000
cm_unassociated_sta: python py/cm_unassociated_sta.py -d false -t 2500000000
sc1_one_sta_mac_start_cco_pref: python py/sc1_one_sta_mac_start_cco_pref.py -d false -t 2500000000
sc1_one_sta_mac_start: python py/sc1_one_sta_mac_start.py -d false -t 2500000000
sc2_two_sta_assoc_one_cco_pref: python py/sc2_two_sta_assoc_one_cco_pref.py -d false -t 2500000000
sc2_two_sta_assoc: python py/sc2_two_sta_assoc.py -d false -t 2500000000
sc3_two_sta_communication: python py/sc3_two_sta_communication.py -d false -t 2500000000
sc4_cc_who_ru: python py/sc4_cc_who_ru.py -d false -t 2500000000
sc5_cc_leave: python py/sc5_cc_leave.py -d false -t 2500000000
sc6_three_sta_assoc: python py/sc6_three_sta_assoc.py -d false -t 2500000000
sc7_three_sta_communication: python py/sc7_three_sta_communication.py -d false -t 2500000000
sc8_three_sta_one_leaving: python py/sc8_three_sta_one_leaving.py -d false -t 2500000000
sc9_cco_leaving: python py/sc9_cco_leaving.py -d false -t 2500000000
sc10_two_sta_with_snr: python py/sc10_two_sta_with_snr.py -d false -t 2500000000
sc11_three_sta_one_deactivate: python py/sc11_three_sta_one_deactivate.py -d false -t 2500000000
sc12_five_stations: python py/sc12_five_stations.py -d false -t 2500000000
sc13_10stations: python py/sc13_10stations.py -d false -t 2500000000
sc14_discover_beacon: python py/sc14_discover_beacon.py -d false -t 2500000000

test_general/station/cco0/s2:
make
sc01_bridge: python py/sc01_bridge.py -d false -t 25000000000
sc02_five_stations: python py/sc02_five_stations.py -d false -t 25000000000
sc03_ten_stations: python py/sc03_ten_stations.py -d false -t 25000000000
sc04_change_snid: python py/sc04_change_snid.py -d false -t  25000000000
sc05_change_hm: python py/sc05_change_hm.py -d false -t  25000000000
sc06_snid_conflict: python py/sc06_snid_conflict.py -d false -t  25000000000
sc07_handover_exception: python py/sc07_handover_exceptions.py -d false -t  25000000000
sc08_sc_two_sc_join: python py/sc08_sc_two_sc_join.py -d false -t 25000000000
sc08_sc_one_sc_join_one_sc_add: python py/sc08_sc_one_sc_join_one_sc_add.py -d false -t 25000000000
sc08_sc_one_sc_join_one_sc_add_revert: python py/sc08_sc_one_sc_join_one_sc_add.py -d false -t 25000000000 revert
sc08_sc_cco_sc_add_sc_join: python py/sc08_sc_avln_already_exist_one_sc_join.py -d false -t 25000000000 cco
sc08_sc_sta_sc_add_sc_join: python py/sc08_sc_avln_already_exist_one_sc_join.py -d false -t 25000000000 sta
sc09_Vendor_Specific_mme: python py/sc09_Vendor_Specific_mme.py -d false -t 25000000000
sc10_short_messages: python py/sc10_short_messages.py -d false -t 25000000000
sc11_one_sta_stats: python py/sc11_one_sta_stats.py -d false -t 25000000000
sc12_cm_nw_info: python py/sc12_cm_nw_info.py -d false -t 25000000000
sc13_cm_nw_stats: python py/sc13_cm_nw_stats.py -d false -t 25000000000
sc14_change_nek: python py/sc14_change_nek.py -d false -t 25000000000


test_general/station/maximus:
make
sc01_long_simu: python py/sc01_long_simu.py -d false -t 25000000000
sc02_long_simu_data: python py/sc02_long_simu_data.py -d false -t 25000000000

cp/beacon/ntb/test:
make clean;
make
ntb: ./obj/ntb

cp/cco/bw/test:
make
bw: ./obj/bw

cp/cco/region/test:
make
region: ./obj/region

hal/phy/spoc/test:
make host.all
spoc: ./obj/spoc_host_check_coeff

cp/beacon/test/utest_eoc:
make
beaconeoc: ./obj/beacon.elf

cp/eoc/test_eoc/station:
make
test_central_beacon: python py/test_central_beacon.py -d false -t 250000000

cp/eoc/cco/action/test/utest:
make: make COV=y
cov test_fsm: ./obj/test_fsm

cp/eoc/sta/action/test/utest:
make: make COV=y
cov test_fsm: ./obj/test_fsm

cp/eoc/multi_sta_fsm/test/utest:
make: make COV=y
cov test_fsm: ./obj/test_fsm

cp/eoc/multi_sta/action/test/utest:
make: make COV=y
cov test_fsm: ./obj/test_fsm
cov test_actions: ./obj/test_actions 

test_general/station/compliance:
make
6.2.1-dut_as_a_cco: python py/sc01_dut_as_a_cco.py --maximus