Skip to content

Commit 900ed69

Browse files
authored
Merge pull request AdaCore#25 from AdaCore/topic/avoid_misleading_msg
Topic/avoid misleading msg
2 parents 9d437bb + a2ca0e6 commit 900ed69

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ vscode:
1919
@echo code --extensionDevelopmentPath=`pwd`/integration/vscode/ada/ `pwd`
2020

2121
check: all
22-
$(TESTER) $(TD)/0001-start_stop.json
22+
$(TESTER) $(TD)/0001-start_stop.json > 0001.err || (cat 0001.err ; false )
2323
$(TESTER) $(TD)/0002-shutdown.json
2424
$(TESTER) $(TD)/0003-get_symbols.json
2525
@echo All test passed!

source/tester/tester-tests.adb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
------------------------------------------------------------------------------
1717

1818
with Ada.Characters.Latin_1;
19+
with Ada.Command_Line;
1920
with Ada.Streams;
2021
with Ada.Strings.Fixed;
2122
with Ada.Text_IO;
@@ -57,6 +58,7 @@ package body Tester.Tests is
5758
pragma Unreferenced (Self);
5859
begin
5960
Ada.Text_IO.Put_Line ("Test failed:" & Message);
61+
Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure);
6062
end Do_Fail;
6163

6264
-------------

0 commit comments

Comments
 (0)