[tests] fix Xamarin.Forms.Performance.Integration
Commit 53631f2
tried to fix build/run of our forms test. It added its
proj to the TEST_APK_PROJECTS list. Because forms test is used
conditionaly only in the Release configuration, it needs to be
actually added to the TEST_APK_PROJECTS_RELEASE list instead. Noted
the release list in the RunApkTests.targets file.
Also do not run the forms test in Release/Aot so that we don't have
the times measurements in the .csv ouput file twice
This commit is contained in:
Родитель
53631f2ee8
Коммит
56c28d66a2
4
Makefile
4
Makefile
|
@ -155,11 +155,11 @@ run-ji-tests:
|
|||
TEST_APK_PROJECTS = \
|
||||
src/Mono.Android/Test/Mono.Android-Tests.csproj \
|
||||
tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/Xamarin.Android.JcwGen-Tests.csproj \
|
||||
tests/Xamarin.Forms-Performance-Integration/Droid/Xamarin.Forms.Performance.Integration.Droid.csproj \
|
||||
tests/locales/Xamarin.Android.Locale-Tests/Xamarin.Android.Locale-Tests.csproj
|
||||
|
||||
TEST_APK_PROJECTS_RELEASE = \
|
||||
src/Mono.Android/Test/Mono.Android-Tests.csproj
|
||||
src/Mono.Android/Test/Mono.Android-Tests.csproj \
|
||||
tests/Xamarin.Forms-Performance-Integration/Droid/Xamarin.Forms.Performance.Integration.Droid.csproj
|
||||
|
||||
# Syntax: $(call BUILD_TEST_APK,path/to/project.csproj,additional_msbuild_flags)
|
||||
define BUILD_TEST_APK
|
||||
|
|
|
@ -10,12 +10,13 @@
|
|||
</PropertyGroup>
|
||||
<!--
|
||||
Note that the `.csproj` for each `@(TestApk)` entry *must* be added to
|
||||
`$(TEST_APK_PROJECTS)` in the toplevel Makefile so that the `.apk` is built.
|
||||
`$(TEST_APK_PROJECTS)` and/or `$(TEST_APK_PROJECTS_RELEASE)`
|
||||
in the toplevel Makefile so that the `.apk` is built.
|
||||
-->
|
||||
<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' " />
|
||||
<Import Project="..\tests\Xamarin.Forms-Performance-Integration\Droid\Xamarin.Forms.Performance.Integration.Droid.projitems" Condition=" '$(Configuration)' == 'Release' And '$(AotAssemblies)' != 'true' " />
|
||||
<Import Project="..\build-tools\scripts\TestApks.targets" />
|
||||
<PropertyGroup>
|
||||
<RunApkTestsDependsOn>
|
||||
|
|
Загрузка…
Ссылка в новой задаче