nickg · GitHub

@nickg I tried to run all acceptance tests locally and ran into a few failing tests. I built nvc from a Github clone and is running under Windows:

$ nvc --version
nvc 1.9-devel (1.8.0.r116.g75c503da) (Using LLVM 15.0.7)
Copyright (C) 2011-2023 Nick Gasson
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.

I looks like the problem is related to file accesses. For example,

larsa@LAPTOP-B6KUINVE MINGW64 /c/github/vunit/vunit/vhdl/check (nickg-pr-nvc)
$ python run.py "lib.tb_deprecated.Test changing checker name"

results in

** Fatal: 0ms+1: Assertion Failure: Failed to open file error.csv - name_error
Procedure ASSERT_STATUS [FILE_OPEN_STATUS, STRING]
C:\github\vunit\vunit\vhdl\logging\src\file_pkg.vhd:84
Procedure FILE_OPEN_FOR_WRITE [FILE_ID_T, STRING]
C:\github\vunit\vunit\vhdl\logging\src\file_pkg.vhd:210
Procedure INIT_LOG_FILE [LOG_HANDLER_T, STRING]
C:\github\vunit\vunit\vhdl\logging\src\log_handler_pkg-body.vhd:43
Function NEW_LOG_HANDLER [NATURAL, STRING, LOG_FORMAT_T, BOOLEAN return LOG_HANDLER_T]
C:\github\vunit\vunit\vhdl\logging\src\log_handler_pkg-body.vhd:57
Function NEW_LOG_HANDLER [STRING, LOG_FORMAT_T, BOOLEAN return LOG_HANDLER_T]
C:\github\vunit\vunit\vhdl\logging\src\log_handler_pkg-body.vhd:69
Procedure CONFIGURE_HANDLERS [LOG_HANDLER_T, LOG_HANDLER_T]
C:\github\vunit\vunit\vhdl\logging\src\log_deprecated_pkg.vhd:135
Procedure LOGGER_INIT [LOGGER_T, STRING, STRING, DEPRECATED_LOG_FORMAT_T, DEPRECATED_LOG_FORMAT_T, LOG_LEVEL_T, CHARACTER, BOOLEAN]
C:\github\vunit\vunit\vhdl\logging\src\log_deprecated_pkg.vhd:163
Procedure CHECKER_INIT [CHECKER_T, LOG_LEVEL_T, STRING, STRING, DEPRECATED_LOG_FORMAT_T, DEPRECATED_LOG_FORMAT_T, LOG_LEVEL_T, CHARACTER, BOOLEAN]
C:\github\vunit\vunit\vhdl\check\src\check_deprecated_pkg.vhd:115
Procedure CHECKER_INIT [LOG_LEVEL_T, STRING, STRING, DEPRECATED_LOG_FORMAT_T, DEPRECATED_LOG_FORMAT_T, LOG_LEVEL_T, CHARACTER, BOOLEAN]
C:\github\vunit\vunit\vhdl\check\src\check_deprecated_pkg.vhd:131
Process :tb_deprecated:test_runner
C:\github\vunit\vunit\vhdl\check\test\tb_deprecated.vhd:105
fail (P=0 S=0 F=1 T=1) lib.tb_deprecated.Test changing checker name (0.5 seconds)

The error status is name_error but the file is there.

Any idea?

Read the original on github.com ↗