From d8c29a5c3313663198c960ed728382dd18133b6c Mon Sep 17 00:00:00 2001 From: Liam Griffin-Jowett Date: Tue, 11 May 2021 14:02:17 +0100 Subject: [PATCH 1/2] Fix bad regex for finding UI test dll --- .../test/xamarin-uitest-android/appcenter-post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-build-scripts/test/xamarin-uitest-android/appcenter-post-build.sh b/sample-build-scripts/test/xamarin-uitest-android/appcenter-post-build.sh index 808e4b02..2785c8c8 100644 --- a/sample-build-scripts/test/xamarin-uitest-android/appcenter-post-build.sh +++ b/sample-build-scripts/test/xamarin-uitest-android/appcenter-post-build.sh @@ -28,7 +28,7 @@ else exit 9999 fi echo "Compiled projects to run UI tests:" -find $APPCENTER_SOURCE_DIRECTORY -regex '*.bin.*UITest.*\.dll' -exec echo {} \; +find $APPCENTER_SOURCE_DIRECTORY -regex '.*bin.*UITest.*\.dll' -exec echo {} \; echo "Running test in App Center Test" APPPATH=$APPCENTER_OUTPUT_DIRECTORY/*.apk BUILDDIR=$APPCENTER_SOURCE_DIRECTORY/*.UITest/bin/Debug/ From 55d5947b07bc84981fb5b3292958aac1d8c13827 Mon Sep 17 00:00:00 2001 From: Liam Griffin-Jowett Date: Tue, 11 May 2021 14:05:30 +0100 Subject: [PATCH 2/2] Fix same regex for iOS example --- .../test/xamarin-uitest-ios/appcenter-post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-build-scripts/test/xamarin-uitest-ios/appcenter-post-build.sh b/sample-build-scripts/test/xamarin-uitest-ios/appcenter-post-build.sh index 16020ca4..8884a3e5 100644 --- a/sample-build-scripts/test/xamarin-uitest-ios/appcenter-post-build.sh +++ b/sample-build-scripts/test/xamarin-uitest-ios/appcenter-post-build.sh @@ -32,7 +32,7 @@ else exit 9999 fi echo "Compiled projects to run UI tests:" -find $APPCENTER_SOURCE_DIRECTORY -regex '*.bin.*UITest.*\.dll' -exec echo {} \; +find $APPCENTER_SOURCE_DIRECTORY -regex '.*bin.*UITest.*\.dll' -exec echo {} \; echo "Running test in App Center Test" APPPATH=$APPCENTER_OUTPUT_DIRECTORY/*.ipa BUILDDIR=$APPCENTER_SOURCE_DIRECTORY/*.UITest/bin/Debug/