Skip to content

Commit

Permalink
[tests] Enable adb logging for RunUITest (#838)
Browse files Browse the repository at this point in the history
Run forms test in all configurations.
  • Loading branch information
radekdoulik authored and jonpryor committed Sep 11, 2017
1 parent 0d16153 commit ae2791a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ run-ji-tests:
# (2) Add a `@(UnitTestApk)` entry to `tests/RunApkTests.targets`
TEST_APK_PROJECTS = \
src/Mono.Android/Test/Mono.Android-Tests.csproj \
tests/Xamarin.Forms-Performance-Integration/Droid/Xamarin.Forms.Performance.Integration.Droid.csproj \
tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/Xamarin.Android.JcwGen-Tests.csproj \
tests/locales/Xamarin.Android.Locale-Tests/Xamarin.Android.Locale-Tests.csproj

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ public class RunUITests : Adb
[Required]
public string Activity { get; set; }

protected override bool LogTaskMessages {
get { return false; }
}

public override bool Execute ()
{
Log.LogMessage (MessageImportance.Low, $"Task {nameof (RunUITests)}");
Expand Down
2 changes: 1 addition & 1 deletion tests/RunApkTests.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Import Project="..\src\Mono.Android\Test\Mono.Android-Tests.projitems" />
<Import Project="..\tests\CodeGen-Binding\Xamarin.Android.JcwGen-Tests\Xamarin.Android.JcwGen-Tests.projitems" Condition=" '$(Configuration)' == 'Debug' " />
<Import Project="..\tests\locales\Xamarin.Android.Locale-Tests\Xamarin.Android.Locale-Tests.projitems" Condition=" '$(Configuration)' == 'Debug' " />
<Import Project="..\tests\Xamarin.Forms-Performance-Integration\Droid\Xamarin.Forms.Performance.Integration.Droid.projitems" Condition=" '$(Configuration)' == 'Release' And '$(AotAssemblies)' != 'true' " />
<Import Project="..\tests\Xamarin.Forms-Performance-Integration\Droid\Xamarin.Forms.Performance.Integration.Droid.projitems" />
<Import Project="..\build-tools\scripts\TestApks.targets" />
<PropertyGroup>
<RunApkTestsDependsOn>
Expand Down

0 comments on commit ae2791a

Please sign in to comment.