diff --git a/azure-pipelines/auth-client/adal-instrumented-test.yml b/azure-pipelines/auth-client/adal-instrumented-test.yml new file mode 100644 index 000000000..63d2b2e6b --- /dev/null +++ b/azure-pipelines/auth-client/adal-instrumented-test.yml @@ -0,0 +1,19 @@ +# File: azure-pipelines\auth-client\adal-instrumented-test.yml +# Description: Run instrumented test for ADAL. +name: Instrumented Tests + +trigger: +- dev + +resources: + repositories: + - repository: android-complete + type: github + name: AzureAD/android-complete + ref: master + endpoint: ANDROID_GITHUB + +jobs: +- template: azure-pipelines/templates/run-instrumented-tests.yml@android-complete + parameters: + projectName: adal diff --git a/azure-pipelines/auth-client/instrumented-test.yml b/azure-pipelines/auth-client/instrumented-test.yml deleted file mode 100644 index abefb16d0..000000000 --- a/azure-pipelines/auth-client/instrumented-test.yml +++ /dev/null @@ -1,25 +0,0 @@ -# File: azure-pipelines\auth-client\instrumented-test.yml -# Description: Run instrumented test for ADAL in a docker container -name: Instrumented Tests - -trigger: -- main - -pool: - name: 1ESDockerBuild - -resources: - repositories: - - repository: common - type: github - name: AzureAD/microsoft-authentication-library-common-for-android - ref: dev - endpoint: ANDROID_GITHUB - -jobs: -- job: instrumentedTest - displayName: Instrumented Test ADAL - workspace: - clean: all - steps: - - template: azure-pipelines/templates/steps/auth-client/docker-tasks.yml@common diff --git a/scripts/run-instrumented-tests.sh b/scripts/run-instrumented-tests.sh deleted file mode 100644 index 3e36c0fd8..000000000 --- a/scripts/run-instrumented-tests.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -echo ============================================= -echo Starting ADB Daemon -echo ============================================= -adb start-server -emulator @test -no-window -no-audio -no-snapshot -wipe-data & -sleep 30 -gradle -version -echo ============================================= -echo Running instrumented tests -echo ============================================= -gradle adal:connectedLocalDebugAndroidTest -i -