1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/ci.sh
2015-02-26 12:04:20 -08:00

19 lines
759 B
Bash
Executable File

#!/bin/bash
echo "Running $CI_TARGET tests"
if [ "$CI_TARGET" == "core" ]; then
make -C myhdl/test/core
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