mirror of
https://github.com/AdaCore/gnatdoc.git
synced 2026-02-12 13:11:07 -08:00
Automated test of aggregated project with exclusions.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
|
||||
package A is
|
||||
|
||||
end A;
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
project A is
|
||||
|
||||
end A;
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
package B is
|
||||
|
||||
end B;
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
project B is
|
||||
|
||||
end B;
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
package C is
|
||||
|
||||
end C;
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
project C is
|
||||
|
||||
end C;
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
aggregate project Default is
|
||||
|
||||
for Project_Files use
|
||||
("a/a.gpr",
|
||||
"b/b.gpr",
|
||||
"c/c.gpr");
|
||||
|
||||
package Documentation is
|
||||
for Output_Dir (others) use ".docs";
|
||||
--for Excluded_Projects use ("b.gpr");
|
||||
--for Excluded_Project_Files use ("b.gpr");
|
||||
end Documentation;
|
||||
|
||||
end Default;
|
||||
@@ -0,0 +1,5 @@
|
||||
default.gpr
|
||||
runtime.gpr [externally build]
|
||||
a.gpr
|
||||
b.gpr
|
||||
c.gpr
|
||||
1
testsuite/executable/projects_aggregated_exclusion/test.sh
Executable file
1
testsuite/executable/projects_aggregated_exclusion/test.sh
Executable file
@@ -0,0 +1 @@
|
||||
$GNATDOC4 default.gpr --backend=test --test-dump-projects
|
||||
@@ -0,0 +1 @@
|
||||
driver: executable
|
||||
Reference in New Issue
Block a user