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

Commit 83bc504d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "aconfig: include all tests in TEST_MAPPING" into main

parents d2a333f6 0ae74f86
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -80,6 +80,7 @@ rust_test_host {
    rustlibs: [
    rustlibs: [
        "libitertools",
        "libitertools",
    ],
    ],
    test_suites: ["general-tests"],
}
}


// integration tests: general
// integration tests: general
@@ -125,7 +126,7 @@ android_test {
        "androidx.test.rules",
        "androidx.test.rules",
        "testng",
        "testng",
    ],
    ],
    test_suites: ["device-tests"],
    test_suites: ["general-tests"],
}
}


java_aconfig_library {
java_aconfig_library {
@@ -172,6 +173,7 @@ cc_test {
    shared_libs: [
    shared_libs: [
        "server_configurable_flags",
        "server_configurable_flags",
    ],
    ],
    test_suites: ["general-tests"],
}
}


cc_test {
cc_test {
@@ -186,6 +188,7 @@ cc_test {
    shared_libs: [
    shared_libs: [
        "server_configurable_flags",
        "server_configurable_flags",
    ],
    ],
    test_suites: ["general-tests"],
}
}


rust_aconfig_library {
rust_aconfig_library {
@@ -202,6 +205,7 @@ rust_test {
    rustlibs: [
    rustlibs: [
        "libaconfig_test_rust_library",
        "libaconfig_test_rust_library",
    ],
    ],
    test_suites: ["general-tests"],
}
}


rust_aconfig_library {
rust_aconfig_library {
@@ -219,4 +223,5 @@ rust_test {
    rustlibs: [
    rustlibs: [
        "libaconfig_test_rust_library_with_test_mode",
        "libaconfig_test_rust_library_with_test_mode",
    ],
    ],
    test_suites: ["general-tests"],
}
}
+30 −0
Original line number Original line Diff line number Diff line
@@ -17,5 +17,35 @@
      // that using the flag macros to do filtering will get affected.
      // that using the flag macros to do filtering will get affected.
      "name": "FlagMacrosTests"
      "name": "FlagMacrosTests"
    }
    }
  ],
  "postsubmit": [
    {
      // aconfig unit tests
      "name": "aconfig.test"
    },
    {
      // aconfig Java integration tests
      "name": "aconfig.test.java"
    },
    {
      // aconfig C++ integration tests (production mode auto-generated code)
      "name": "aconfig.test.cpp"
    },
    {
      // aconfig C++ integration tests (test mode auto-generated code)
      "name": "aconfig.test.cpp.test_mode"
    },
    {
      // aconfig C++ integration tests (production mode auto-generated code)
      "name": "aconfig.prod_mode.test.rust"
    },
    {
      // aconfig C++ integration tests (test mode auto-generated code)
      "name": "aconfig.test_mode.test.rust"
    },
    {
      // printflags unit tests
      "name": "printflags.test"
    }
  ]
  ]
}
}
+1 −0
Original line number Original line Diff line number Diff line
@@ -24,4 +24,5 @@ rust_binary {
rust_test_host {
rust_test_host {
    name: "printflags.test",
    name: "printflags.test",
    defaults: ["printflags.defaults"],
    defaults: ["printflags.defaults"],
    test_suites: ["general-tests"],
}
}