summaryrefslogtreecommitdiff
path: root/common/tests/tests
blob: d061af7685f9da3cc274821f29c19b0aaa00cbf9 (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
502
# 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

common/lib/mmtcgen:
make

cleopatre/devkit/tests/libmme/utests:
make: make

cleopatre/devkit/tests/libspid/utests:
make: make
config_item: ./obj/config_item_utests
config_line: ./obj/config_line_utests
hpav_info: ./obj/hpav_info_utests
image: ./obj/image_utests
system: ./obj/system_utests

cleopatre/devkit/tests/managerd/utests:
make: make
vs_mme: ./obj/vs_mme_utests

cleopatre/devkit/tests/bundle_delivery:
bundle_delivery: ./test_bundle_delivery.py

cleopatre/devkit/tests/busybox:
busybox-applet-order: python busybox_applets_order.py

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

cesar/hal/boot_params/test/test_boot_params:
make
test_boot_params: ./obj/test_boot_params

cesar/hal/boot_params/test/test_bin_eof:
make
test_bin_eof: python ./test_bin_eof.py

cesar/hal/mem/test:
make
test_mem: ./obj/test_mem

cesar/hal/ipmbox/test:
make: make COV=y
cov test_ipmbox: ./obj/test_ipmbox

cesar/lib/test/bitstream:
make: make HOST_COV=y
cov test_bitstream: ./obj/test_bitstream

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

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

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

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

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

cesar/lib/test/init:
make: make COV=y
cov test_init: ./obj/test_init

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

cesar/lib/test/mac_lookup_table:
make: make COV=y
cov test_mac_lookup_table: ./obj/test_mac_lookup_table

cesar/lib/test/mbox:
make: make COV=y
cov test_mbox_host: ./obj/mbox_host
cov-target test_mbox_ecos: ./obj/mbox.elf

cesar/lib/test/perf:
make: make

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

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

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

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

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

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

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

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

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

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

cesar/lib/test/utils:
make: make COV=y
cov test_utils: ./obj/test_utils

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

cesar/lib/test/seq_check:
make: make COV=y
cov test_seq_check: ./obj/test_seq_check

cesar/hal/ipmbox/maximus/test:
make: make COV=y
cov test_maximus_hal: ./obj/test_maximus_hal > /dev/null

cesar/hal/leon/maximus/test:
make: make COV=y
cov test_maximus_timer: ./obj/test_maximus_timer > /dev/null

cesar/hal/phy/maximus/test:
make: make COV=y
cov test_phy_maximus: ./obj/test_phy_maximus > /dev/null

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

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

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

cesar/interface/fcall/test:
make: make COV=y
./obj/test_interface_fcall > /dev/null

cesar/maximus/prototest/fcall:
make

cesar/maximus/prototest/integration:
make

cesar/maximus/stationtest:
make

cesar/maximus/unittest:
make: make COV=y
./obj/unittest -e ../stationtest/obj/stationtest.elf > /dev/null

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

cesar/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 > /dev/null
python test/test_fsm.py > /dev/null
python test/test_interface.py -e ../stationtest/obj/stationtest.elf -d false -t 2500000000 > /dev/null
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 -d false -t 2500000000 > /dev/null
python test/test_macframe.py -e ../stationtest/obj/test_send.elf -d false -t 2500000000 > /dev/null
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 > /dev/null
python test/test_station.py -e ../stationtest/obj/test_station.elf -d false -t 2500000000 > /dev/null
python test/test_utils.py > /dev/null
python py/script_example.py -e ../stationtest/obj/stationtest.elf -d false -t 2500000000 > /dev/null
python py/test_cb.py -e ../stationtest/obj/test_cb.elf -d false -t 2500000000 > /dev/null
python py/test_ether.py -e ../stationtest/obj/test_ether.elf -d false -t 2500000000 > /dev/null
python py/test_false_alarm.py -e ../stationtest/obj/test_false_alarm.elf -d false -t 2500000000 > /dev/null
python py/test_send_mpdu.py -e ../stationtest/obj/test_send.elf -d false -t 2500000000 > /dev/null
python py/test_send_noise.py -e ../stationtest/obj/test_send.elf -d false -t 2500000000 > /dev/null
python py/test_tx_rx.py -e ../stationtest/obj/test_tx_rx.elf -d false -t 2500000000 > /dev/null

cesar/maximus/python/tools/csi/test:
python avln.py
python core.py
python station.py

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

cesar/hal/phy/test/bridgedma:
make
run: ./obj/host/bridgedma.elf

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

cesar/mac/common/test/mfs:
make
run: ./obj/test_mfs

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

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

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

cesar/mac/common/test/interval:
make: make COV=y
cov test_interval: ./obj/test_interval

cesar/mac/design/test/mfs_tx:
make

cesar/mac/design/test/mfs_tx2:
make

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

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

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

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

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

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

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

cesar/mac/sar/test/utest/host:
make: make
sar: ./obj/test_sar
sar_pbproc_mfs_orverride: ./obj/test_sar_pbproc_override

cesar/mac/sar/test/utest/lib:
make: make
lib_sar_mf: ./obj/test_lib_sar_mf

cesar/mac/sar/test/functional:
make host
sar_rx_perf: obj/host/sar_rx_perf.elf
sar_rx_perf_huge_mpdu: obj/host/sar_rx_perf_huge_mpdu.elf
sar_tx_perf: obj/host/sar_tx_perf.elf
sar_rx_perf_huge_mpdu_max_eth: obj/host/sar_rx_perf_huge_mpdu_max_eth.elf
sar_rx_tx: obj/host/sar_rx_tx.elf
sar_tx_rx: obj/host/sar_tx_rx.elf

cesar/cl/test/utest:
make: make COV=y
cov cl: ./obj/test_cl

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

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

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

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

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

cesar/ce/rx/bitloading/test:
make: make COV=y host fsm
cov ce_rx_bl_host: ./obj/host/test_ce_host
cov ce_rx_bl_fsm_host: ./obj/host/test_ce_fsm
cov ce_rx_bl_intervals_host: ./obj/host/test_ce_intervals
cov ce_rx_bl_poly: ./obj/host/test_ce_poly
cov ce_rx_bl_pber_host: ./obj/host/test_ce_pber
cov ce_rx_bl_bmu_host: ./obj/host/test_ce_bmu

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

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

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

cesar/hle/tools/test/utest:
make: make COV=y
test_hle_tools: ./obj/test_hle_tools

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

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

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

cesar/cp/av/sta/mgr/test/utest:
make
test_sta_mgr: obj/test_sta_mgr

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

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

cesar/cp/av/beacon/test/utest:
make
beacon: ./obj/beacon.elf
test_beacon: ./obj/test_beacon.elf
discover: ./obj/test_discover_process.elf

cesar/cp/av/beacon/test/utest2:
make
beacon_bis: ./obj/beacon_scenario

cesar/cp/av/msg/test/utest:
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
vs-msg: ./obj/test_vs_msg
test_allowed_mme: ./obj/test_allowed_mme

cesar/cp/secu/test:
make
sha256: ./obj/test_sha2
aes128: ./obj/test_aes
prun: ./obj/test_prun
nmk: ./obj/test_nmk
hash: ./obj/test_hash

cesar/cp/av/cl_interf/test/utest:
make
cl_interf: ./obj/test-cl-interf

cesar/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

cesar/test_general/station/scenario/av:
make
sc01_assoc_auth: python py/sc01_assoc_auth.py -d false -t 25000000000
sc02_stas_communication: python py/sc02_stas_communication.py -d false -t 25000000000
sc03_two_avln_coexisting: python py/sc03_two_avln_coexisting.py -d false -t 25000000000
sc04_cc_whoru: python py/sc04_cc_whoru.py -d false -t 25000000000
sc05_cc_leave: python py/sc05_cc_leave.py -d false -t 25000000000
sc06_discover_procedure: python py/sc06_discover_procedure.py -d false -t 25000000000
sc07_bridge: python py/sc07_bridge.py -d false -t 25000000000
sc08_bentry_change: python py/sc08_bentry_change.py -d false -t 25000000000
sc09_simple_connect: python py/sc09_simple_connect.py -d false -t 25000000000
sc10_short_messages: python py/sc10_short_messages.py -d false -t 25000000000
sc11_cm_nw_info: python py/sc11_cm_nw_info.py -d false -t 25000000000
sc12_change_nmk: python py/sc12_change_nmk.py -d false -t 25000000000
sc14_igmp: python py/sc14_igmp.py -d false -t 25000000000

cesar/test_general/station/maximus:
make

cesar/test_general/station/tonemap:
make -f host-Makefile
sc01_bl_initial: python py/sc01_bl_initial.py --maximus
sc02_vs_get_tonemap: python py/sc02_vs_get_tonemap.py --maximus

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

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

cesar/hal/phy/spoc/test:
make host.all
test_spoc: ./obj/test_spoc

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

cesar/bsu/beacon/test/utest:
make
beacon: ./obj/beacon

cesar/bsu/test/utest:
make
test_bsu: ./obj/test_bsu

cesar/bsu/ntb/test/utest:
make
bsu/ntb: ./obj/ntb

cesar/bsu/aclf/test/utest:
make
bsu/aclf: ./obj/aclf

cesar/bufmgr/test/utest:
make
test_bufmgr: ./obj/test_bufmgr

cesar/projects/plc:
make
make traces: make PROJECT_CONFIG=Config.traces