Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1eb46b85 authored by vadimt's avatar vadimt
Browse files

Recognizing running "prebuilt" launcher and manually built platform

In scenarios like: atest NexusLauncherOutOfProcTests against the
platform built from command line, and Launcher from the platform, we are
not failing now, and @Stability treats it as a PLATFORM_POSTSUBMIT run.

Change-Id: Ia504216d238e58b2786f3749b737dfb95a2ede96
parent 0fd48b51
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -148,7 +148,8 @@ public class TestStabilityRule implements TestRule {
            Log.d(TAG, "PLATFORM PRESUBMIT");
            Log.d(TAG, "PLATFORM PRESUBMIT");
            runFlavor = PLATFORM_PRESUBMIT;
            runFlavor = PLATFORM_PRESUBMIT;
        } else if (launcherBuildMatcher.group("platform") != null
        } else if (launcherBuildMatcher.group("platform") != null
                && platformBuildMatcher.group("postsubmit") != null) {
                && (platformBuildMatcher.group("postsubmit") != null
                || platformBuildMatcher.group("commandLine") != null)) {
            Log.d(TAG, "PLATFORM POSTSUBMIT");
            Log.d(TAG, "PLATFORM POSTSUBMIT");
            runFlavor = PLATFORM_POSTSUBMIT;
            runFlavor = PLATFORM_POSTSUBMIT;
        } else {
        } else {