SetupWizardLibrary/tools/build_for_build_server.sh
Maurice Lam 8aaf0419f9 Run Robolectric tests on build server
Configure the build server task to run 'test' task, and zip the
result XMLs to host-test-reports for tradefed to pick it up.

Test: out/dist/host-test-reports get generated by TreeHugger
Bug: 37677781
Change-Id: I6162ce0996912b7445ef92c44e48625c4fb4e48f
2017-04-26 00:53:15 +00:00

10 lines
232 B
Bash
Executable file

#! /bin/bash
export TARGET_PRODUCT="full"
export TARGET_BUILD_VARIANT="userdebug"
export TARGET_BUILD_DENSITY="alldpi"
export TARGET_BUILD_TYPE="release"
export TARGET_BUILD_APPS="setup-wizard-lib"
./gradlew buildProjectFull test