-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'garese/fix-interface' into 'master'
Fix test drivers interfaces for stubbed libraries Closes #215 See merge request eng/ide/libadalang-tools!267
- Loading branch information
Showing
42 changed files
with
439 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
with "lib2"; | ||
|
||
library project Lib1 is | ||
for Library_Name use "lib1"; | ||
for Library_Dir use "lib1"; | ||
for Interfaces use ("a.ads", "b.ads"); | ||
for Source_Dirs use ("src-lib1"); | ||
for Object_Dir use "obj"; | ||
for Languages use ("Ada"); | ||
end Lib1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
with "lib3"; | ||
|
||
library project Lib2 is | ||
for Library_Name use "lib2"; | ||
for Library_Dir use "lib2"; | ||
for Interfaces use ("c.ads", "d.ads"); | ||
for Source_Dirs use ("src-lib2"); | ||
for Object_Dir use "obj"; | ||
for Languages use ("Ada"); | ||
end Lib2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
library project Lib3 is | ||
for Library_Name use "lib3"; | ||
for Library_Dir use "lib3"; | ||
for Interfaces use ("e.ads", "f.ads"); | ||
for Source_Dirs use ("src-lib3"); | ||
for Object_Dir use "obj"; | ||
for Languages use ("Ada"); | ||
end Lib3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
with B.A; | ||
pragma Unreferenced (B.A); | ||
with Ada.Text_IO; use Ada.Text_IO; | ||
|
||
package body A is | ||
|
||
function Hoho return String is ("Hoho"); | ||
|
||
Procedure Hihi is | ||
begin | ||
Put_Line (Hoho); | ||
end Hihi; | ||
|
||
end A; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package A is | ||
|
||
function Hoho return String; | ||
|
||
Procedure Hihi; | ||
|
||
end A; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
with C; | ||
pragma Unreferenced (C); | ||
|
||
package body B.A is | ||
function BA_Func return Boolean is | ||
begin | ||
return Dummy_BA; | ||
end BA_Func; | ||
end B.A; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package B.A is | ||
Dummy_BA : Boolean := True; | ||
|
||
function BA_Func return Boolean; | ||
end B.A; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package body B.B is | ||
function BB_Func return Boolean is | ||
begin | ||
return Dummy_BB; | ||
end BB_Func; | ||
end B.B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package B.B is | ||
Dummy_BB : Boolean := True; | ||
|
||
function BB_Func return Boolean; | ||
end B.B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package B is | ||
Dummy_B : Boolean := True; | ||
|
||
function B_Func return Boolean is (Dummy_B); | ||
end B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
with D.A; | ||
pragma Unreferenced (D.A); | ||
with Ada.Text_IO; use Ada.Text_IO; | ||
|
||
package body C is | ||
|
||
function Hoho return String is ("Hoho"); | ||
|
||
Procedure Hihi is | ||
begin | ||
Put_Line (Hoho); | ||
end Hihi; | ||
|
||
end C; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package C is | ||
|
||
function Hoho return String; | ||
|
||
Procedure Hihi; | ||
|
||
end C; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
with E; | ||
pragma Unreferenced (E); | ||
|
||
package body D.A is | ||
function DA_Func return Boolean is | ||
begin | ||
return Dummy_DA; | ||
end DA_Func; | ||
end D.A; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package D.A is | ||
Dummy_DA : Boolean := True; | ||
|
||
function DA_Func return Boolean; | ||
end D.A; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package body D.B is | ||
function DB_Func return Boolean is | ||
begin | ||
return Dummy_DB; | ||
end DB_Func; | ||
end D.B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package D.B is | ||
Dummy_DB : Boolean := True; | ||
|
||
function DB_Func return Boolean; | ||
end D.B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package D is | ||
Dummy_D : Boolean := True; | ||
|
||
function D_Func return Boolean is (Dummy_D); | ||
end D; |
Oops, something went wrong.