manoj b
manoj b

Reputation: 11

Invoking cts through batch

I would like to run cts on windows using batch script. I want to run Android CTS 5.0 R3 version on windows 64 bit.

My script has the below command to invoke cts:

java -cp ddmlib-prebuilt.jar;tradefed-prebuilt.jar;hosttestlib.jar;cts-tradefed.jar -DCTS_ROOT=D:\cts com.android.cts.tradefed.command.CtsConsole

When I double click on my batch script, it will enter into a shell like "cts-tf>". I then have to manually run cts using " run cts --plan CTS " command.

I would like to put "run cts --plan CTS" command also as well as part of my batch script. i.e. when command prompt has entered into shell, I need to execute run cts --plan CTS from my batch file.

Upvotes: 1

Views: 384

Answers (1)

A Sravan Kumar Reddy
A Sravan Kumar Reddy

Reputation: 97

java -cp ddmlib-prebuilt.jar;tradefed-prebuilt.jar;hosttestlib.jar;cts-tradefed.jar -DCTS_ROOT=android-cts-6.0_r13-linux_x86-arm com.android.cts.tradefed.command.CtsConsole

Upvotes: 0

Related Questions