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

Commit 43db9d0d authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Move SystemUiRavenTests to postsubmit" into main

parents 2152384f cff4ac96
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -159,11 +159,13 @@
    {
      "name": "RavenwoodServicesTest",
      "host": true
    },
    }
    // AUTO-GENERATED-END
  ],
  "ravenwood-postsubmit": [
    {
      "name": "SystemUiRavenTests",
      "host": true
    }
    // AUTO-GENERATED-END
  ]
}
+4 −1
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@

set -e

# Tests that shouldn't be in presubmit.
EXEMPT='^(SystemUiRavenTests)$'

main() {
    local script_name="${0##*/}"
    local script_dir="${0%/*}"
@@ -30,7 +33,7 @@ main() {
    local footer="$(sed -ne '/AUTO-GENERATED-END/,$p' "$test_mapping")"

    echo "Getting all tests"
    local tests=( $("$script_dir/list-ravenwood-tests.sh") )
    local tests=( $("$script_dir/list-ravenwood-tests.sh" | grep -vP "$EXEMPT") )

    local num_tests="${#tests[@]}"