[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: Icarus Verilog return codes?
Andrew Lentvorski wrote:
> Does Icarus Verilog do return codes? I'm running a script, and when I
> run iverilog I still seem to get an exit code of 0 even if it can't find
> a file.
Works for me (v0.8.3):
evan 255 > rm wibble.v
evan 256 > iverilog wibble.v
wibble.v: No such file or directory
No top level modules, and no -s option.
evan 257 > echo $status
1
evan 258 > touch wibble.v
evan 259 > iverilog wibble.v
No top level modules, and no -s option.
evan 260 > echo $status
1
evan 261 > echo "module test;endmodule" > wibble.v
evan 262 > iverilog wibble.v
evan 263 > echo $status
0
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev