-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert folder tests/ to Alire crate
Signed-off-by: onox <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pragma Restrictions (No_Obsolescent_Features); | ||
pragma Profile (No_Implementation_Extensions); |
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 |
---|---|---|
@@ -1,18 +1,25 @@ | ||
with "../emojis"; | ||
with "config/tests_config"; | ||
|
||
project Tests is | ||
|
||
for Create_Missing_Dirs use "True"; | ||
|
||
for Source_Dirs use ("src"); | ||
for Object_Dir use "build/obj"; | ||
for Object_Dir use "build/obj/" & Tests_Config.Build_Profile; | ||
for Library_Dir use "build/lib"; | ||
|
||
for Exec_Dir use "build/bin"; | ||
|
||
for Main use ("test.adb"); | ||
|
||
package Compiler renames Emojis.Compiler; | ||
package Binder renames Emojis.Binder; | ||
package Compiler is | ||
for Default_Switches ("Ada") use Tests_Config.Ada_Compiler_Switches & ("-gnatyM99"); | ||
for Local_Configuration_Pragmas use "gnat.adc"; | ||
end Compiler; | ||
|
||
package Binder is | ||
for Switches ("Ada") use ("-Es"); -- Symbolic traceback | ||
end Binder; | ||
|
||
end Tests; |