steveicarus / iverilog

Icarus Verilog
https://steveicarus.github.io/iverilog/
GNU General Public License v2.0
2.86k stars 530 forks source link

The pr2509349a test has spurious output on Windows (msys2) #1084

Closed steveicarus closed 9 months ago

steveicarus commented 9 months ago

The output when running on Linux and MacOS is:

steve@icarus:~/icarus/eda/devel/verilog/ivtest> cat gold/pr2509349a.gold
WARNING: ./ivltests/pr2509349a.v:10: $readmempath could not find directory "/no_dir"!
WARNING: ./ivltests/pr2509349a.v:10: $readmempath could not find directory "no_dir2"!
WARNING: ./ivltests/pr2509349a.v:10: $readmempath's path element "vsim" is not a directory!
PASSED

but when running on Windows, it's:

steve@icarus:~/icarus/eda/devel/verilog/ivtest> cat gold/pr2509349a-msys2.gold
WARNING: ./ivltests/pr2509349a.v:10: $readmempath could not find directory "/tmp"!
WARNING: ./ivltests/pr2509349a.v:10: $readmempath could not find directory "/no_dir"!
WARNING: ./ivltests/pr2509349a.v:10: $readmempath could not find directory "no_dir2"!
WARNING: ./ivltests/pr2509349a.v:10: $readmempath's path element "vsim" is not a directory!
PASSED

This needs to be unified somehow, so that we can remove the regress-msys2.list file, since this test is the only one in that file.