Merge new crates in 1.0
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
description = "TOML parser for Ada "
|
||||
name = "ada_toml"
|
||||
version = "0.2.0"
|
||||
authors = ["AdaCore", "Pierre-Marie de Rodat <pmderodat@kawie.fr>"]
|
||||
licenses = "BSD-3-Clause"
|
||||
maintainers = ["pmderodat@kawie.fr"]
|
||||
maintainers-logins = ["pmderodat"]
|
||||
project-files = ["ada_toml.gpr"]
|
||||
|
||||
[gpr-externals]
|
||||
ADA_TOML_BUILD_MODE = ["dev", "prod"]
|
||||
LIBRARY_TYPE = ["static", "relocatable", "static-pic"]
|
||||
|
||||
[gpr-set-externals]
|
||||
ADA_TOML_BUILD_MODE = "prod"
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/pmderodat/ada-toml/archive/v0.2.tar.gz"
|
||||
hashes = ["sha512:f07de4871e633e1be0fd757daa5996dd8ea2d56eae44bbf27358518b58b6cd47274c9d1686fe669da4c464baf5122c707f9990cfdef7fa8c0b9504558e85dbcb"]
|
||||
@@ -0,0 +1,19 @@
|
||||
name = "asfml"
|
||||
description = "ASFML is an Ada binding to SFML, the Simple and Fast Multimedia Library"
|
||||
version = "2.5.1"
|
||||
|
||||
authors = ["Manuel Gomez", "Dan Lee Vazquez Garcia"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
licenses = "custom-zlib-acknowledgement"
|
||||
website = "https://mgrojo.github.io/ASFML/"
|
||||
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]
|
||||
|
||||
[[depends-on]]
|
||||
libcsfml = "^2.5"
|
||||
|
||||
[origin]
|
||||
commit = "52a013554bcfb6150e0d6391871356c1443a6b93"
|
||||
url = "git+https://github.com/mgrojo/ASFML.git"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name = "gnatcoll_gmp"
|
||||
version = "21.0.0"
|
||||
description = "GNAT Components Collection - gomp binding"
|
||||
description = "GNAT Components Collection - GNU Multiple Precision Arithmetic binding"
|
||||
website = "https://github.com/adacore/gnatcoll-bindings"
|
||||
authors = ["AdaCore"]
|
||||
licenses = "GPL-3.0-only WITH GCC-exception-3.1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name = "gnatcoll_omp"
|
||||
version = "21.0.0"
|
||||
description = "GNAT Components Collection - gomp binding"
|
||||
description = "GNAT Components Collection - OpenMP binding"
|
||||
website = "https://github.com/adacore/gnatcoll-bindings"
|
||||
authors = ["AdaCore"]
|
||||
licenses = "GPL-3.0-only WITH GCC-exception-3.1"
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
name = "pygamer_bsp"
|
||||
version = "1.0.0"
|
||||
|
||||
description = "Board Support Package for the AdaFruit PyGamer"
|
||||
licenses = "BSD-3-Clause"
|
||||
maintainers = ["fabien.chouteau@gmail.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
project-files = ["pygamer_bsp.gpr"]
|
||||
tags = ["embedded", "nostd", "pygamer", "adafruit", "game", "console", "bsp"]
|
||||
|
||||
[[depends-on]]
|
||||
cortex_m = "~0.1.0"
|
||||
samd51_hal = "~0.1.0"
|
||||
|
||||
[origin]
|
||||
commit = "43d69885051ae88b57ba6a64b8ff7fc63eaad67d"
|
||||
url = "git+https://github.com/Fabien-Chouteau/pygamer-bsp.git"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
name = "pygamer_simulator"
|
||||
version = "1.0.0"
|
||||
description = "SDL simulator of the AdaFruit PyGamer console"
|
||||
website = "https://github.com/Fabien-Chouteau/pygamer-simulator"
|
||||
maintainers = ["fabien.chouteau@gmail.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
licenses = "BSD-3-Clause"
|
||||
tags = ["pygamer", "adafruit", "game", "console", "simulator"]
|
||||
|
||||
project-files = ["pygamer_simulator.gpr"]
|
||||
|
||||
[[depends-on]]
|
||||
asfml = "~2.5"
|
||||
hal = "~0.1.0"
|
||||
|
||||
[origin]
|
||||
commit = "c0b428bdaf94de296ec3591a11f8ae79f48cc0d3"
|
||||
url = "git+https://github.com/Fabien-Chouteau/pygamer-simulator.git"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "shoot_n_loot"
|
||||
version = "1.0.0"
|
||||
description = "Platform game for the AdaFruit PyGamer console"
|
||||
website = "https://github.com/Fabien-Chouteau/shoot-n-loot"
|
||||
maintainers = ["fabien.chouteau@gmail.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
licenses = "MIT"
|
||||
tags = ["pygamer", "game", "simulator"]
|
||||
project-files = ["shoot_n_loot_simulator.gpr"]
|
||||
executables = ["shoot_n_loot_sim"]
|
||||
|
||||
[[depends-on]]
|
||||
pygamer_simulator = "~1.0.0"
|
||||
pygamer_bsp = "~1.0.0"
|
||||
geste = "^1.1.0"
|
||||
virtapu = "~0.2.0"
|
||||
|
||||
[origin]
|
||||
commit = "227d9dad4c4db451968734a783afbf12132309e1"
|
||||
url = "git+https://github.com/Fabien-Chouteau/shoot-n-loot.git"
|
||||
|
||||
@@ -0,0 +1,130 @@
|
||||
name = "trendy_test"
|
||||
description = "Minimal Effort Ada Unit Testing Library"
|
||||
version = "0.0.1"
|
||||
website = "https://github.com/pyjarrett/trendy_test"
|
||||
|
||||
authors = ["Paul Jarrett"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Paul Jarrett <jarrett.paul.young@gmail.com>"]
|
||||
maintainers-logins = ["pyjarrett"]
|
||||
tags = ["test", "unit-test", "unit"]
|
||||
|
||||
project-files = ["trendy_test.gpr"]
|
||||
|
||||
long-description = '''
|
||||
# trendy_test
|
||||
|
||||
Minimum Effort Ada Unit Testing Library
|
||||
|
||||
[](https://github.com/pyjarrett/trendy_test/actions)
|
||||
|
||||
## Features
|
||||
|
||||
- Minimum setup
|
||||
- Parallelization of tests
|
||||
- Randomization of test order to find dependencies between tests
|
||||
- No generated code or scripts needed
|
||||
|
||||
## Example
|
||||
|
||||
```ada
|
||||
with Ada.Text_IO;
|
||||
with Trendy_Test;
|
||||
with Trendy_Test.Reports;
|
||||
|
||||
procedure My_Test_Main is
|
||||
begin
|
||||
Trendy_Test.Register (My_Tests.All_Tests);
|
||||
Trendy_Test.Reports.Print_Basic_Report(Trendy_Test.Run);
|
||||
end My_Test_Main;
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
with Trendy_Test;
|
||||
package My_Tests is
|
||||
function All_Tests return Trendy_Test.Test_Group;
|
||||
end Trendy_Command_Line_Tests;
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
package body My_Tests is
|
||||
procedure Test_Sample (T : in out Trendy_Test.Operation'Class) is
|
||||
begin
|
||||
-- Don't put anything above here you don't want run during listing/other ops.
|
||||
T.Register;
|
||||
T.Assert (Some_Expression);
|
||||
end Test_Sample;
|
||||
|
||||
procedure Test_Is_Disabled (T : in out Trendy_Test.Operation'Class) is
|
||||
begin
|
||||
T.Register(Disabled => True); -- Disabled, don't run this test.
|
||||
T.Assert (Some_Expression);
|
||||
end Test_Sample;
|
||||
|
||||
procedure Test_Is_Not_Run_In_Parallel (T : in out Trendy_Test.Operation'Class) is
|
||||
begin
|
||||
T.Register(Parallelize => False); -- There's some dependency, so don't run it in parallel.
|
||||
T.Assert (Some_Expression);
|
||||
end Test_Sample;
|
||||
|
||||
function All_Tests return Trendy_Test.Test_Group is
|
||||
begin
|
||||
return
|
||||
(Test_Sample'Access,
|
||||
Test_Is_Disabled'Access
|
||||
);
|
||||
end All_Tests;
|
||||
end My_Tests;
|
||||
```
|
||||
|
||||
## Example Output
|
||||
|
||||
```
|
||||
D:\dev\ada\trendy_command_line\bin\trendy_command_line_test_main
|
||||
[ PASS ] shared_pointers_tests.test_multiple_oracles 0.000105300
|
||||
[ PASS ] shared_pointers_tests.test_single_oracle 0.000052700
|
||||
[ PASS ] trendy_command_line.context_free.tests.test_is_long_option 0.000002300
|
||||
[ PASS ] trendy_command_line.context_free.tests.test_is_option_terminator 0.000007200
|
||||
[ PASS ] trendy_command_line.context_free.tests.test_is_short_option 0.000005000
|
||||
[ PASS ] trendy_command_line.context_free.tests.test_is_short_option_or_group 0.000009200
|
||||
[ PASS ] trendy_command_line_tests.flags.test_boolean_option_defaults 0.000149400
|
||||
[ FAIL ] trendy_command_line_tests.flags.test_boolean_option_short_option_group 0.000185600
|
||||
Assertion Failed: (Condition false) at D:\dev\ada\trendy_command_line\src\trendy_command_line_tests-flags.adb: 110[D:\dev\ada\trendy_command_line\bin\trendy_command_line_test_main.exe]
|
||||
0x453530 Trendy_Test.Report_Failure at trendy_test.adb:88
|
||||
0x4535a4 Trendy_Test.Assert at trendy_test.adb:102
|
||||
0x425338 Trendy_Command_Line_Tests.Flags.Test_Boolean_Option_Short_Option_Group at trendy_command_line_tests-flags.adb:110
|
||||
0x451ff1 Trendy_Test.Run_Test at trendy_test.adb:237
|
||||
0x452d4c Trendy_Test.Run.Parallel_Test_TaskTB at trendy_test.adb:277
|
||||
0x4601a2 system__tasking__queuing__select_protected_entry_call at ???
|
||||
[C:\Windows\System32\KERNEL32.DLL]
|
||||
0x7ffd7d1f7032
|
||||
[C:\Windows\SYSTEM32\ntdll.dll]
|
||||
0x7ffd7e08264f
|
||||
|
||||
[ FAIL ] trendy_command_line_tests.flags.test_boolean_option_short_options 0.001984800
|
||||
Assertion Failed: (Condition false) at D:\dev\ada\trendy_command_line\src\trendy_command_line_tests-flags.adb: 93[D:\dev\ada\trendy_command_line\bin\trendy_command_line_test_main.exe]
|
||||
0x453530 Trendy_Test.Report_Failure at trendy_test.adb:88
|
||||
0x4535a4 Trendy_Test.Assert at trendy_test.adb:102
|
||||
0x425a43 Trendy_Command_Line_Tests.Flags.Test_Boolean_Option_Short_Options at trendy_command_line_tests-flags.adb:93
|
||||
0x451ff1 Trendy_Test.Run_Test at trendy_test.adb:237
|
||||
0x452d4c Trendy_Test.Run.Parallel_Test_TaskTB at trendy_test.adb:277
|
||||
0x4601a2 system__tasking__queuing__select_protected_entry_call at ???
|
||||
[C:\Windows\System32\KERNEL32.DLL]
|
||||
0x7ffd7d1f7032
|
||||
[C:\Windows\SYSTEM32\ntdll.dll]
|
||||
0x7ffd7e08264f
|
||||
|
||||
[ PASS ] trendy_command_line_tests.flags.test_boolean_option_toggles 0.000153600
|
||||
[ PASS ] trendy_command_line_tests.flags.test_boolean_option_too_many_occurrences
|
||||
0.003517400
|
||||
[ PASS ] trendy_command_line_tests.test_long_option_with_argument 0.000013000
|
||||
[ PASS ] trendy_command_line_tests.test_one_operand 0.000006700
|
||||
[ PASS ] trendy_command_line_tests.test_short_option_with_argument 0.000193600
|
||||
Results: Passed: 12 / 14
|
||||
```
|
||||
|
||||
'''
|
||||
[origin]
|
||||
commit = "c9f5215962c35e8c9434c732b574dbb173f1ab31"
|
||||
url = "git+https://github.com/pyjarrett/trendy_test.git"
|
||||
|
||||
Reference in New Issue
Block a user