summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorThierry Carré2012-10-16 12:45:48 +0200
committerThierry Carré2013-01-31 15:04:48 +0100
commit4452a8abe0d135b1f690b530a3bb4b1e495d7b65 (patch)
treeffa06423693d00cdaccd3d8a51d3c6c61ec2b2f3 /common
parent83441de4ab01355295cfe6a6e389ad5bc66fd361 (diff)
cesar/maximus: C++ maximus refactoring, closes #3336, closes #3098
Feedback on new performance on tests inside: test_general/station Ratio = Test duration before this commit divided by new duration. |--------------------------------------------|-------| | Unit test | Ratio | |--------------------------------------------|-------| | maximus/py/sc01_long_simu.py | 6.5 | | maximus/py/sc02_long_simu.py | 4.5 | | scenario/av/py/sc01_assoc_auth.py | 3.3 | | scenario/av/py/sc02_stas_communication.py | 4.5 | | scenario/av/py/sc03_two_avln_coexisting.py | 2.1 | | scenario/av/py/sc04_cc_whoru.py | 2.1 | | scenario/av/py/sc05_cc_leave.py | 2.3 | | scenario/av/py/sc06_discover_procedure.py | 2.3 | | scenario/av/py/sc07_bridge.py | 2.2 | | scenario/av/py/sc08_bentry_change.py | 2.1 | | scenario/av/py/sc09_simple_connect.py | 2.2 | | scenario/av/py/sc10_short_messages.py | 5.7 | | scenario/av/py/sc11_cm_nw_info.py | 4.7 | | scenario/av/py/sc12_change_nmk.py | 5.5 | | scenario/av/py/sc14_igmp.py | 4.0 | | scenario/av/py/sc15_hide.py | 6.0 | | compliance/py/sc01_dut_as_a_cco.py | 5.8 | | tonemap/py/sc01_bl_initial.py | 2.3 | | tonemap/py/sc02_vs_get_tonemap.py | 2.3 | |--------------------------------------------|-------| | Average speed improvement of Maximus is | 4.9 | |--------------------------------------------|-------| Many tickets have been opened to continue the refactoring. Titles begin by "[Maximus][Refactoring]" in pessac's trac. For this reason #3336 is close. #3098 is really fixed.
Diffstat (limited to 'common')
-rw-r--r--common/tests/tests67
1 files changed, 33 insertions, 34 deletions
diff --git a/common/tests/tests b/common/tests/tests
index 00e8e614f0..24b86f8731 100644
--- a/common/tests/tests
+++ b/common/tests/tests
@@ -166,9 +166,9 @@ 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/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
@@ -186,42 +186,41 @@ cesar/interface/fcall/test:
make: make COV=y
./obj/test_interface_fcall > /dev/null
-cesar/maximus/prototest/fcall:
-make
-
-cesar/maximus/stationtest:
-make
-
-cesar/maximus/unittest:
+cesar/maximus/sci/utest/server:
make: make COV=y
-./obj/unittest -e ../stationtest/obj/stationtest.elf > /dev/null
+cov run: ./obj/sci_server_test
-cesar/maximus/usertest:
+cesar/maximus/sci/utest/scimsg:
make: make COV=y
-./obj/usertest -e ../stationtest/obj/stationtest.elf -d false -t 2500000000 > /dev/null
+cov run: ./obj/sci_msg_test
-cesar/maximus/python:
+cesar/maximus/scheduler/utest:
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
+cov run: ./obj/scheduler_test
+
+cesar/maximus/python/utest:
+make: make
+memory: python py/memory.py
+channel: python script_2/test_channel.py -e stationtest/obj/test_station.elf -d false -t 2500000000
+cli: python script_2/test_cli.py
+ethernet: python script_2/test_ethernet.py -e stationtest/obj/test_ether.elf -d false -t 2500000000 > /dev/null
+fsm: python script_2/test_fsm.py > /dev/null
+interface: python script_2/test_interface.py -e stationtest/obj/stationtest.elf -d false -t 2500000000 > /dev/null
+lib_cesar: python script_2/test_lib_cesar.py -e stationtest/obj/test_lib_cesar.elf -d false -t 2500000000
+lib_proto: python script_2/test_lib_proto.py -u -e prototest/fcall/obj/test_fcall.elf -d false -t 2500000000 > /dev/null
+macframe: python script_2/test_macframe.py -e stationtest/obj/test_send.elf -d false -t 2500000000 > /dev/null
+mme: python script_2/test_mme.py -e stationtest/obj/stationtest.elf -d false -t 2500000000
+result: python script_2/test_result.py
+simu: python script_2/test_simu.py -e stationtest/obj/stationtest.elf -d false -t 2500000000 > /dev/null
+station: python script_2/test_station.py -e stationtest/obj/test_station.elf -d false -t 2500000000 > /dev/null
+utils: python script_2/test_utils.py > /dev/null
+example: python script_1/script_example.py -e stationtest/obj/stationtest.elf -d false -t 2500000000 > /dev/null
+cb: python script_1/test_cb.py -e stationtest/obj/test_cb.elf -d false -t 2500000000 > /dev/null
+ether: python script_1/test_ether.py -e stationtest/obj/test_ether.elf -d false -t 2500000000 > /dev/null
+false_alarm: python script_1/test_false_alarm.py -e stationtest/obj/test_false_alarm.elf -d false -t 2500000000 > /dev/null
+send_mpdu: python script_1/test_send_mpdu.py -e stationtest/obj/test_send.elf -d false -t 2500000000 > /dev/null
+send_noise: python script_1/test_send_noise.py -e stationtest/obj/test_send.elf -d false -t 2500000000 > /dev/null
+tx_rx: python script_1/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