From 8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 29 Jun 2021 19:14:02 -0500 Subject: Expose overridable variable APIs in balutil and Mba.Core. Fixes #4777 --- src/test/burn/TestBA/TestBA.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/burn/TestBA') diff --git a/src/test/burn/TestBA/TestBA.cs b/src/test/burn/TestBA/TestBA.cs index 09378bc5..5c70253d 100644 --- a/src/test/burn/TestBA/TestBA.cs +++ b/src/test/burn/TestBA/TestBA.cs @@ -74,8 +74,6 @@ namespace WixToolset.Test.BA return; } - base.OnStartup(args); - this.action = this.Command.Action; this.TestVariables(); @@ -84,7 +82,7 @@ namespace WixToolset.Test.BA List verifyArguments = this.ReadVerifyArguments(); - foreach (string arg in this.Command.CommandLineArgs) + foreach (string arg in BootstrapperCommand.ParseCommandLineToArgs(this.Command.CommandLine)) { // If we're not in the update already, process the updatebundle. if (this.Command.Relation != RelationType.Update && arg.StartsWith("-updatebundle:", StringComparison.OrdinalIgnoreCase)) @@ -116,6 +114,8 @@ namespace WixToolset.Test.BA return; } + base.OnStartup(args); + int redetectCount; string redetect = this.ReadPackageAction(null, "RedetectCount"); if (String.IsNullOrEmpty(redetect) || !Int32.TryParse(redetect, out redetectCount)) -- cgit v1.2.3-55-g6feb