Tests: For travis, skip Bit::Vector and show intall dates.

This commit is contained in:
Wilson Snyder 2020-03-07 20:08:41 -05:00
parent 6d73237b27
commit bd42e31b2a
4 changed files with 14 additions and 1 deletions

View File

@ -24,10 +24,14 @@ cache:
- $VERILATOR_CACHE
before_install:
- date
# Perl modules needed for testing
- yes yes | sudo cpan -fTi Unix::Processors Parallel::Forker Bit::Vector
# Not listing Bit::Vector as slow to install, and only skips one test
- yes yes | sudo cpan -fi Unix::Processors Parallel::Forker
- date
- sudo apt-get install gdb gtkwave
- sudo apt-get install libgoogle-perftools-dev
- date
before_script:
- bash -x ci/build_vcddiff.sh
- bash -x ci/build_verilator.sh

View File

@ -6,6 +6,7 @@
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
set -e
date
# NB: it would be better to add this via a PPA
@ -16,3 +17,5 @@ VCDDIFF_DIR=${TMP_DIR}/vcddiff
git -C "${VCDDIFF_DIR}" checkout 5112f88b7ba8818dce9dfb72619e64a1fc19542c
make -C "${VCDDIFF_DIR}"
sudo cp "${VCDDIFF_DIR}/vcddiff" /usr/local/bin
date

View File

@ -15,6 +15,7 @@
# process or add Verilator as a Git submodule. Verilator tarballs can
# not be used as the script relies on Git revisions for caching.
set -e
date
if [ -z "${VERILATOR_NUM_JOBS}" ]; then
VERILATOR_NUM_JOBS=$(nproc)
@ -62,3 +63,5 @@ else
autoconf && ./configure ${VERILATOR_CONFIG_FLAGS}
cp ${VERILATOR_CACHE}/* bin
fi
date

View File

@ -6,6 +6,7 @@
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
set -e
date
export DRIVER_FLAGS='-j 0 --quiet --rerun'
@ -24,3 +25,5 @@ case $1 in
exit -1
;;
esac
date