Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40786119 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

Merge "Store order of the components used by the tests"

parents 0fa5f787 f5de6684
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -378,9 +378,9 @@ func (ctx *TestContext) Register() {
	ctx.singletons.registerAll(ctx.Context)

	// Save the sorted components order away to make them easy to access while debugging.
	ctx.preSingletonOrder = globalOrder.preSingletonOrder.namesInOrder
	ctx.mutatorOrder = globalOrder.mutatorOrder.namesInOrder
	ctx.singletonOrder = globalOrder.singletonOrder.namesInOrder
	ctx.preSingletonOrder = componentsToNames(preSingletons)
	ctx.mutatorOrder = componentsToNames(mutators)
	ctx.singletonOrder = componentsToNames(singletons)
}

// RegisterForBazelConversion prepares a test context for bp2build conversion.