Automated test of aggregated project with exclusions.

This commit is contained in:
Vadim Godunko
2024-10-02 13:30:58 +04:00
parent cb9be27e7f
commit 4a2e6a51bc
10 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
package A is
end A;

View File

@@ -0,0 +1,4 @@
project A is
end A;

View File

@@ -0,0 +1,4 @@
package B is
end B;

View File

@@ -0,0 +1,4 @@
project B is
end B;

View File

@@ -0,0 +1,4 @@
package C is
end C;

View File

@@ -0,0 +1,4 @@
project C is
end C;

View File

@@ -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;

View File

@@ -0,0 +1,5 @@
default.gpr
runtime.gpr [externally build]
a.gpr
b.gpr
c.gpr

View File

@@ -0,0 +1 @@
$GNATDOC4 default.gpr --backend=test --test-dump-projects

View File

@@ -0,0 +1 @@
driver: executable