commit | ab23f44a92b86780ca566af84ad44d622cb6c023 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Tue Feb 09 15:37:45 2021 +0000 |
committer | Florian Mayer <fmayer@google.com> | Tue Feb 09 15:37:45 2021 +0000 |
tree | edddb923dbf599d166a160328e81a5aa68f16130 | |
parent | 76f90bde8ef46b04f8aa051cebad4c9e88e42af1 [diff] [blame] |
Run perfetto_integrationtests from /data/local/tests. This way they get labeled as shell_test_data_file rather than shell_data_file. That lets us grant more fine-grained SELinux permissions that are restricted to tests. Also, the plan is to make this the default path in the long run, see https://android.googlesource.com/platform/build/soong/+/3b933d31657253e547caab38ef151c7d0e08856d/cc/test.go#349 Test: HEAPPROFD_TEST_PROFILE_OUT=/data/local/tmp ./perfetto_integrationtests/arm64/perfetto_integrationtests --gtest_filter='Run/HeapprofdEndToEnd.*' verify profile has proper symbols Change-Id: I3fd590e8a0ea4b22720853ad24a0cd0f19f49353
diff --git a/Android.bp b/Android.bp index ba70216..1dd3333 100644 --- a/Android.bp +++ b/Android.bp
@@ -1853,6 +1853,7 @@ test_suites: [ "general-tests", ], + test_config: "PerfettoIntegrationTests.xml", } // GN: //protos/perfetto/common:cpp