Skip to content

deploytest.exe howto

Media Explorer edited this page Feb 27, 2023 · 5 revisions

DeployTest

Deploys test packages and dependencies.

Usage: DeployTest -out -root -pkg [-pkgfile ] [-altroot ] [-cache ] [MACRO=] [MACRO2=] ...

Parameters:

-out <OutputPath>   : Directory for output files.

-root <BinaryRoot>  : Location of Binary Root. If you specify multiple paths,
                      separate them with semicolons. Default is current
                      $(BINARY_ROOT) value in Phone Build environment or .
                      $(_NTTREE) value in Razzle Build environment or .

-pkg <PkgName>      : Name of package, will search under
                      BinaryRoot\Prebuilt to find the package.
                      Can also be "PkgName;PkgName2;PkgName3".
                      You can specify optional tags in each PkgName as
                      "PkgName[tags=Tag1,Tag2,Tag3]".

-pkgfile <PkgFile>  : File with package names, one per line.

-altroot <AltRoot>  : Alternate location to search for packages
                      (like \\build\release\<...>).

-cache <CacheDir>   : Location to cache local copies of packages, meant for
                      lab test machines.

-expiresIn <value>  : Deployment folder expiration time, in hours.
                      Default is 24.

-recurse            : Default is to only process the first level of dep.xml
                      Add -recurse to process for all packages.

-RunConfigAction    : If the package contains configuration actions, whether run
                      these actions. Default is no.

-ConsoleOutputLevel : Maximum verbosity level to output to console.
                      Default is Info.  Values are Off, Error, Warning, Info, Verbose.

-FileOutputLevel    : Maximum verbosity level to output to the log file.
                      Default is Info.  Values are Off, Error, Warning, Info, Verbose.

-LogFile            : The path to a log file to use.

-norobo             : [Ignored] Default is to use RoboCopy to copy files.

-robocopy <Options> : [Ignored] Overrides the default RoboCopy options.

Usage

DeployTest -GenerateGeneralCache -out -root

-GenerateGeneralCache: The general cache files are generated when this option is on.

                       A txt file containing binary names that should be appended to 

                       pkgdep_supress.txt is also generated.

                       This option is for TDX team internal use only.

                       When this option is on, the options other than -out and -root are ignored

                       Note that the root path must be a public phone build path. 

We can deduce the winbuild path from phone build path, but cannot do it the other way.