From c3e2844dfeba7f07ba10bd72730f649f82759150 Mon Sep 17 00:00:00 2001 From: Jeff Gaston Date: Wed, 9 Aug 2017 15:13:12 -0700 Subject: Support for a custom list of Blueprints files to parse Bug: 64363847 Test: BLUEPRINT_LIST_FILE=out/.module_paths/Android.bp.list minibp Change-Id: Id7f8cb1ab3a6684b3f8265d77bb32413957f1c93 --- context_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'context_test.go') diff --git a/context_test.go b/context_test.go index 1cc051d..c6bc08c 100644 --- a/context_test.go +++ b/context_test.go @@ -18,6 +18,8 @@ import ( "bytes" "strings" "testing" + + "github.com/google/blueprint/parser" ) type Walker interface { @@ -96,7 +98,7 @@ func TestContextParse(t *testing.T) { } `) - _, _, errs := ctx.parseOne(".", "Blueprint", r, nil) + _, _, errs := ctx.parseOne(".", "Blueprint", r, parser.NewScope(nil)) if len(errs) > 0 { t.Errorf("unexpected parse errors:") for _, err := range errs { -- cgit v1.2.3