1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/ci.sh
2015-03-03 21:39:14 +01:00

20 lines
786 B
Bash
Executable File

#!/bin/bash
echo "Running $CI_TARGET tests"
if [ "$CI_TARGET" == "core" ]; then
make -C myhdl/test/core
make -C myhdl/test/core2
elif [ "$CI_TARGET" == "icarus" ]; then
echo "======================================================================="
echo "=========== A. Test Converted Verilog Code ========="
echo "======================================================================="
make -C "myhdl/test/conversion/general" icarus
echo "======================================================================="
echo "=========== B. Test Co-Simulation with Converted Verilog Code ========="
echo "======================================================================="
make -C cosimulation/icarus
make -C myhdl/test/conversion/toVerilog
fi