This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git

commit d9c282dbcfa8fa09361d21358ab0e06abe87eb28
Author: Szymon Janc <[email protected]>
AuthorDate: Fri Oct 9 15:11:33 2026 +0200

    newt/cli: Run unit tests of a package in stable order
    
    Unit tests of a package were collected from a map, so their order
    changed between runs. Sort them by name.
    
    Assisted-by: Claude:claude-opus-5-5
---
 newt/cli/build_cmds.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newt/cli/build_cmds.go b/newt/cli/build_cmds.go
index 1b080bad..fdde81d3 100644
--- a/newt/cli/build_cmds.go
+++ b/newt/cli/build_cmds.go
@@ -99,7 +99,7 @@ func pkgToUnitTests(pack *pkg.LocalPackage) 
[]*pkg.LocalPackage {
                }
        }
 
-       return result
+       return pkg.SortLclPkgs(result)
 }
 
 var extraJtagCmd string

Reply via email to