summaryrefslogtreecommitdiff
path: root/cesar/maximus/test/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/maximus/test/test.sh')
-rwxr-xr-xcesar/maximus/test/test.sh71
1 files changed, 71 insertions, 0 deletions
diff --git a/cesar/maximus/test/test.sh b/cesar/maximus/test/test.sh
new file mode 100755
index 0000000000..f08eb69ad9
--- /dev/null
+++ b/cesar/maximus/test/test.sh
@@ -0,0 +1,71 @@
+#! /bin/bash
+
+WORKSPACE='/home/buret/workspace/maximus'
+
+echo
+echo "*** HAL Leon Timer Maximus tests ***"
+echo
+cd $WORKSPACE/hal/leon/maximus/test
+make clean; make
+obj/test_maximus_timer
+
+echo
+echo "*** HAL HLE Maximus tests ***"
+echo
+cd $WORKSPACE/hal/hle/maximus/test
+make clean; make
+obj/test_maximus_hle
+
+echo
+echo "*** HAL PHY Maximus tests ***"
+echo
+cd $WORKSPACE/hal/phy/maximus/test
+make clean; make
+obj/test_phy_maximus
+
+echo
+echo "*** HAL PHY tests ***"
+echo
+cd $WORKSPACE/hal/phy/test/phy
+make clean; make
+obj/host_test_phy -e obj/test_phy.elf -d false -t 2500000000
+
+echo
+echo "*** SAR tests ***"
+echo
+cd $WORKSPACE/mac/sar/test/maximus_test
+make clean; make
+obj/Maximus_sar -e obj/Sta_sar.elf -d false -t 2500000000
+
+echo
+echo "*** Compile stations executables ***"
+echo
+cd $WORKSPACE/maximus/stationtest
+make clean; make
+
+echo
+echo "*** Maximus unitary tests ***"
+echo
+cd $WORKSPACE/maximus/unittest
+make clean; make
+obj/unittest -e ../stationtest/obj/stationtest.elf
+
+echo
+echo "*** Maximus user tests ***"
+echo
+cd $WORKSPACE/maximus/usertest
+make clean; make
+obj/usertest -e ../stationtest/obj/stationtest.elf -d false -t 2500000000
+
+echo
+echo "*** Host unitary tests ***"
+echo
+cd $WORKSPACE/host/test
+make clean; make
+obj/test_host
+
+echo
+echo "=> Python tests"
+echo
+cd $WORKSPACE/maximus/test
+test_python.sh