Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from MartinNowak/stop_on_signal
Browse files Browse the repository at this point in the history
terminate runbench on signal
  • Loading branch information
rainers committed Jun 13, 2014
2 parents 38b1d0f + 3d7a663 commit 5a1b936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/runbench.d
Expand Up @@ -243,7 +243,7 @@ string execute(ref File f, string command, bool expectpass, string result_path)
if (WIFSIGNALED(rc))
{
auto value = WTERMSIG(rc);
enforce(0 == value, "caught signal: " ~ to!string(value));
enforceEx!Error(0 == value, "caught signal: " ~ to!string(value));
}
else if (WIFEXITED(rc))
{
Expand Down

0 comments on commit 5a1b936

Please sign in to comment.