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

Commit cff4ac96 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Move SystemUiRavenTests to postsubmit

Flag: EXEMPT host test change only
Bug: 292141694
Test: repo upload hook
Test: Tree hugger
Change-Id: I8c31c489bc70f936088484b51ab7779be87d0592
parent 69243320
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -164,11 +164,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[@]}"