Test ran at 2025-08-10 01:23:17.139260+00:00 SOLUTION: trendy_test=0.0.4: Minimal Effort Ada Unit Testing Library Origin: commit 1328b0c8fb46a5f214492e55e21c320b5ec4e5ea from https://github.com/pyjarrett/trendy_test.git Properties: Author: Paul Jarrett Build Switches: Description: Minimal Effort Ada Unit Testing Library License: Apache-2.0 Long_Description: # trendy_test Minimum Effort Ada Unit Testing Library [![Build Status](https://github.com/pyjarrett/trendy_test/actions/workflows/build.yml/badge.svg)](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 Trendy_Test.Assertions.Integer_Assertions; with Trendy_Test.Reports; with my_tests; use Trendy_Test.Assertions; use Trendy_Test.Assertions.Integer_Assertions; 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 My_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; Assert (T, 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. Assert (T, Some_Expression); end Test_Is_Disables; 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. Assert (T, Some_Expression); end Test_Is_Not_Run_In_Parallel; 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 ``` Maintainer: Paul Jarrett Maintainers_Logins: pyjarrett Name: trendy_test Project_File: trendy_test.gpr Tag: test Tag: unit-test Tag: unit Version: 0.0.4 Website: https://github.com/pyjarrett/trendy_test LOG: [alr test] Testing trendy_test=0.0.4 [alr test] Spawning retrieval for remote crate: alr -d -n get trendy_test=0.0.4 Note: Deploying trendy_test=0.0.4... trendy_test=0.0.4 successfully retrieved. There are no dependencies. [alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn Note: Building trendy_test=0.0.4/trendy_test.gpr... /root/.local/share/alire/toolchains/gprbuild_25.0.1_9a2e6cfb/bin/gprbuild: /lib64/libc.so.6: version `GLIBC_2.35' not found (required by /root/.local/share/alire/toolchains/gprbuild_25.0.1_9a2e6cfb/bin/gprbuild) stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/3082254c-6317-48bc-b14e-62ec9952b2b3/trendy_test_0.0.4_1328b0c8/trendy_test.gpr", "-cargs:Ada", "-gnatwn"] exited with code 1 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/3082254c-6317-48bc-b14e-62ec9952b2b3/trendy_test_0.0.4_1328b0c8/trendy_test.gpr", "-cargs:Ada", "-gnatwn"] exited with code 1 stderr: ALIRE.CHECKED_ERROR stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/3082254c-6317-48bc-b14e-62ec9952b2b3/trendy_test_0.0.4_1328b0c8/trendy_test.gpr", "-cargs:Ada", "-gnatwn"] exited with code 1 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [/usr/bin/alr] 0xe75bc6 Alire.Raise_Checked_Error at alire.adb:284 0xac1a54 Alire.Os_Lib.Subprocess.Checked_Spawn at alire-os_lib-subprocess.adb:111 0xd40276 Alire.Spawn.Command at alire-spawn.adb:22 0xd412ee Alire.Spawn.Gprbuild at alire-spawn.adb:68 0xc748cb Alire.Roots.Build at alire-roots.adb:189 0xc7301a Alire.Roots.Build at alire-roots.adb:255 0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143 0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472 0xcfdfcc Alire.Solutions.Traverse at alire-solutions.adb:1555 0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147 0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127 0xc7359b Alire.Roots.Build at alire-roots.adb:286 0xc736d7 Alire.Roots.Build at alire-roots.adb:114 0x49aa0d Alr.Commands.Build.Execute at alr-commands-build.adb:145 0x49a36d Alr.Commands.Build.Execute at alr-commands-build.adb:113 0x49a51f Alr.Commands.Build.Execute at alr-commands-build.adb:54 0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749 0x5472be Alr.Commands.Execute at alr-commands.adb:632 0x43d48a Alr.Main at alr-main.adb:13 0x4403a3 Main at b__alr-main.adb:2445 [/lib64/libc.so.6] 0x7f88882ea5ce 0x7f88882ea67e [/usr/bin/alr] 0x43d323 _start at ??? 0xfffffffffffffffe stderr: ALIRE.ROOTS.BUILD._WRAPPED_STATEMENTS.BUILD_FAILED stderr: alire-roots.adb:202 stderr: raised ALIRE.ROOTS.BUILD._WRAPPED_STATEMENTS.BUILD_FAILED : alire-roots.adb:202 [/usr/bin/alr] 0xc74cc7 Alire.Roots.Build at alire-roots.adb:202 0xc7301a Alire.Roots.Build at alire-roots.adb:255 0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143 0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472 0xcfdfcc Alire.Solutions.Traverse at alire-solutions.adb:1555 0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147 0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127 0xc7359b Alire.Roots.Build at alire-roots.adb:286 0xc736d7 Alire.Roots.Build at alire-roots.adb:114 0x49aa0d Alr.Commands.Build.Execute at alr-commands-build.adb:145 0x49a36d Alr.Commands.Build.Execute at alr-commands-build.adb:113 0x49a51f Alr.Commands.Build.Execute at alr-commands-build.adb:54 0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749 0x5472be Alr.Commands.Execute at alr-commands.adb:632 0x43d48a Alr.Main at alr-main.adb:13 0x4403a3 Main at b__alr-main.adb:2445 [/lib64/libc.so.6] 0x7f88882ea5ce 0x7f88882ea67e [/usr/bin/alr] 0x43d323 _start at ??? 0xfffffffffffffffe ERROR: Compilation failed.