Skip to content

Commit c20928f

Browse files
author
automatic-merge
committed
Merge remote branch 'origin/master' into edge
2 parents badd7dd + ebe3364 commit c20928f

File tree

8 files changed

+10
-19
lines changed

8 files changed

+10
-19
lines changed

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,9 @@ clean:
3232
build-tests:
3333
gprbuild -j0 -p -P gnat/tests/test_drivers.gpr ${SCENARIO_VARIABLES}
3434

35-
check: build-tests check_extractor check_gnatdoc
36-
37-
check_extractor:
35+
check: build-tests
3836
make -C testsuite
3937

40-
check_gnatdoc:
41-
make -C testsuite/gnatdoc.RB16-013.gpr_tool
42-
4338
build-documentation:
4439
make -C documentation/users_guide html latexpdf
4540

source/gnatdoc/gnatdoc-projects.adb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ package body GNATdoc.Projects is
269269
Opt.Add_Switch
270270
(GPR2.Options.P,
271271
VSS.Strings.Conversions.To_UTF_8_String
272-
(GNATdoc.Command_Line.Project_File));
272+
(GNATdoc.Command_Line.Project_File));
273+
Opt.Add_Context (Project_Context);
273274

274275
if not Project_Tree.Load (Opt, With_Runtime => True) then
275276
Msgs := Messages;

testsuite/gnatdoc.RB16-013.gpr_tool/test.gpr renamed to testsuite/executable/RB16-013.gpr_tool/default.gpr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
project Test is
2+
project Default is
33

44
Tool := external ("GPR_TOOL", "");
55

@@ -11,4 +11,4 @@ project Test is
1111
for Object_Dir use ".objs";
1212
end case;
1313

14-
end Test;
14+
end Default;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
default.gpr:8:29: warning: object directory ".docs" not found
2+
default.gpr:8:29: warning: object directory ".docs" not found
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$GNATDOC4 default.gpr
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
description: Check setting of GPR_TOOL scenario variable
2+
driver: executable

testsuite/gnatdoc.RB16-013.gpr_tool/Makefile

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)