aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlsimul.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-02-11 07:54:09 +0100
committerTristan Gingold <tgingold@free.fr>2016-02-14 13:52:33 +0100
commit99049b0dfebc774c7dfd6d3dc075159b1d3645fd (patch)
tree793553336b4fdc28185076799e828668e969261d /src/ghdldrv/ghdlsimul.adb
parentc766b691210c1c3e25c58fbbbe68de14784a62b1 (diff)
downloadghdl-99049b0dfebc774c7dfd6d3dc075159b1d3645fd.tar.gz
ghdl-99049b0dfebc774c7dfd6d3dc075159b1d3645fd.tar.bz2
ghdl-99049b0dfebc774c7dfd6d3dc075159b1d3645fd.zip
simul: return the exit status set by std.env
Diffstat (limited to 'src/ghdldrv/ghdlsimul.adb')
-rw-r--r--src/ghdldrv/ghdlsimul.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index c5e950836..2f28e7c09 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -184,6 +184,8 @@ package body Ghdlsimul is
Grtlink.Flag_String := Flags.Flag_String;
Simulation.Simulation_Entity (Top_Conf);
+
+ Set_Exit_Status (Exit_Status (Grt.Errors.Exit_Status));
end Run;
function Decode_Option (Option : String) return Boolean