ivtest: Integration of regression tests into the build system

Replace .github/test.sh with a unified set of targets installed
via `make check-*` in ivtest/, thereby removing CI-specific test
coordination. This avoids duplication in the regression logic and
ensures consistent execution between local and CI environments.
PLI1-dependent tests are now correctly controlled via
`configure --enable-libveriuser`.

Currently, the regression suite still depends on an iverilog package,
which must be installed manually at the location specified with
`configure --prefix=*`. Afterward, the complete regression suite
(VVP, VPI, and Python tests) can be run via `make check-installed`
and individual checks can be run with `check-installed-vpi`,
`check-installed-vvp` and `check-installed-vvp-py`.
This commit is contained in:
Ralf Habacker
2026-04-30 17:04:53 +02:00
parent 03cac78504
commit c14c73dd9a
5 changed files with 83 additions and 28 deletions
-20
View File
@@ -1,20 +0,0 @@
#!/usr/bin/env sh
echo "Using the bundled ivtest to run regression tests."
echo " pwd = $(pwd)"
cd ivtest
status=0
perl vvp_reg.pl || status=1
if [ "x$1" = "xno-pli1" ] ; then
perl vpi_reg.pl || status=1
else
perl vpi_reg.pl --with-pli1 || status=1
fi
python3 vvp_reg.py || status=1
exit $status
+5 -7
View File
@@ -34,7 +34,8 @@ jobs:
sudo make install
- name: Test
run: ./.github/test.sh
run: |
make check-installed
lin:
@@ -64,7 +65,8 @@ jobs:
sudo make install
- name: Test
run: ./.github/test.sh
run:
make check-installed
- name: Documentation
run: |
@@ -120,11 +122,7 @@ jobs:
- name: Test
run: |
if [ ${{ matrix.msystem }} = "CLANG64" ] ; then
./.github/test.sh no-pli1
else
./.github/test.sh
fi
make check-installed
- uses: actions/upload-artifact@v4
with: