Commit 37bb1a17 authored by Matthew Finkel's avatar Matthew Finkel Committed by Matthew Finkel
Browse files

Bug 25741 - TBA: Exclude unwanted Stumbler tests

When the stumbler service is ifdef-disabled because MOZ_ANDROID_MLS_STUMBLER
is not defined, then the unit test compilation fails because some values are
never declared and defined. We exclude all testStumbler*.java files from
the robocop gecko test source tree.
parent 37a00605
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -190,6 +190,11 @@ android {
        androidTest {
            java {
                srcDir "${topsrcdir}/mobile/android/tests/browser/robocop/src"

                if (!mozconfig.substs.MOZ_ANDROID_MLS_STUMBLER) {
                    exclude 'org/mozilla/gecko/tests/testStumbler*.java'
                }

                // Bug 1229149 tracks pushing this into a :services Gradle project.
                srcDir "${topsrcdir}/mobile/android/services/src/androidTest/java"
                srcDir "${topsrcdir}/mobile/android/tests/browser/junit3/src"