Skip to content

Commit 5a1b936

Browse files
committed
Merge pull request dlang#2 from MartinNowak/stop_on_signal
terminate runbench on signal
2 parents 38b1d0f + 3d7a663 commit 5a1b936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/runbench.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ string execute(ref File f, string command, bool expectpass, string result_path)
243243
if (WIFSIGNALED(rc))
244244
{
245245
auto value = WTERMSIG(rc);
246-
enforce(0 == value, "caught signal: " ~ to!string(value));
246+
enforceEx!Error(0 == value, "caught signal: " ~ to!string(value));
247247
}
248248
else if (WIFEXITED(rc))
249249
{

0 commit comments

Comments
 (0)