summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-25Enables two additonal test targets in Bazel env am: 096df7d42a am: 6d5488f484Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1697845 Change-Id: Ifc0c655b78e6246dfc5b4c5afba743114a4d804f
2021-05-25Enables two additonal test targets in Bazel env am: 096df7d42aKarl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1697845 Change-Id: Ic54b2a5775ae770cda2a0d44b4d6bbd06d068a6f
2021-05-12Enables --host flag for Local TF runs am: 2d913d2e4e am: 222a422635 am: ↵Karl Shaffer
8df5d87e64 am: 0f35caa819 Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1690145 Change-Id: I7b3a21bae5de6cac97ace40b5da983a57d5a1e1d
2021-05-12Enables --host flag for Local TF runs am: 2d913d2e4e am: 222a422635 am: ↵android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devKarl Shaffer
8df5d87e64 Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1690145 Change-Id: Ic261c7e6bbfb2b382206c19895a28536c14a4889
2021-05-12Enables --host flag for Local TF runs am: 2d913d2e4e am: 222a422635Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1690145 Change-Id: I34f9c22919bc31ef3e5e6e0742d00718de6dfe1a
2021-05-12Enables --host flag for Local TF runs am: 2d913d2e4eKarl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1690145 Change-Id: Ie04c3f32e3e092468066eddd3e1ffedfe26228d0
2021-05-07Enables two additonal test targets in Bazel envKarl Shaffer
Adds new rules, launchers, and targets that enable the running of the 'HelloWorldTest' and `HelloWorldHostTest` from within the generated Bazel environment. Test: Manual testing, which can be performed with the following steps: bazel run //build/pesto/experiments/prepare_bazel_test_env -- generate bazel run //build/pesto/experiments/prepare_bazel_test_env -- sync bazel test //platform_testing/tests/example/jarhosttest:HelloWorldHostTest --test_output=all --test_arg=--host (The following command requires a connected device) bazel run //platform_testing/tests/example/instrumentation:HelloWorldTests --test_output=all Change-Id: I9414588dfe05f53cd4591185fdb3e7817face0d5
2021-05-07Enables --host flag for Local TF runsandroid-s-beta-2android-s-beta-1Karl Shaffer
The cc_tf_test_launcher now checks the next positional argument for a --host flag and adds the corresponding flags to the TradeFed execution. This flag approach mimics how ATest currently handles host/device tests. Test: Manual testing, through the following steps: bazel run //build/pesto/experiments/prepare_bazel_test_env -- generate bazel run //build/pesto/experiments/prepare_bazel_test_env -- sync (For host side test) bazel test //platform_testing/tests/example/native:hello_world_test --test_output=all --test_arg=--host (For device side test, requiring a device connected and lunch selecting the correct build target) bazel test //platform_testing/tests/example/native:hello_world_test --test_output=all Change-Id: I3b92a2551a1a9d272c45cd5047f5a764d8a849c7
2021-05-05Implement the prepare_bazel_test_env script am: 2178bb2de9 am: 8eb6bb443e ↵Karl Shaffer
am: 0fa3de4e84 am: 33631428e8 Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677135 Change-Id: I41129447320fa8acee833a470808ec7474c3b93c
2021-05-04Implement the prepare_bazel_test_env script am: 2178bb2de9 am: 8eb6bb443e ↵Karl Shaffer
am: 0fa3de4e84 Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677135 Change-Id: Ie548a44bf878663486987ef8917df137563278b5
2021-05-04Implement the prepare_bazel_test_env script am: 2178bb2de9 am: 8eb6bb443eKarl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677135 Change-Id: Iecc41b2fa11d1bccc8dae42364a77381922c58bf
2021-05-04Implement the prepare_bazel_test_env script am: 2178bb2de9Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677135 Change-Id: I9ebfd742d504a90b8ecae6570c923decebf04dd0
2021-05-04Add the script data files am: 08adae0bf5 am: fa5c6c0c5c am: ad77aa0941 am: ↵Karl Shaffer
3bbf47460b Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677133 Change-Id: Ic5cbb70572e27982ca8b7d2016fa268f7e9c5b82
2021-05-04Implement the prepare_bazel_test_env scriptKarl Shaffer
The prepare_bazel_test_env script allows for the import of Soong-built test targets into a pseudo-Bazel test environment for the development of test infrastructure. Test: As of this CL, the script can be executed successfully and tested manually with the following steps: bazel run //build/pesto/experiments/prepare_bazel_test_env -- -v generate bazel run //build/pesto/experiments/prepare_bazel_test_env -- -v sync bazel test --test_output=all //platform_testing/tests/example/native:hello_world_test Change-Id: Ia66b67546e2a2f11c5c6c3870a700d3356318461
2021-05-04Add the script data files am: 08adae0bf5 am: fa5c6c0c5c am: ad77aa0941Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677133 Change-Id: Ia9c5e2c376ef05862004630ce761ca38fe616d42
2021-05-04Add the script data files am: 08adae0bf5 am: fa5c6c0c5cKarl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677133 Change-Id: I76dfa27cb8964e0060b07aeffce492ea941b0ff6
2021-05-04Add the script data files am: 08adae0bf5Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677133 Change-Id: I4ca22b0352366123b604252fd6d5c1b04108c4f9
2021-04-30Add a script to prepare a Bazel environment am: 52534a2703 am: 7ddda3ee6c ↵Karl Shaffer
am: db5ca8a0c9 am: 2919da26e0 Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677130 Change-Id: Ie03bf117ede5f85f836e1d4f8113d9b9aec53d89
2021-04-29Add a script to prepare a Bazel environment am: 52534a2703 am: 7ddda3ee6c ↵Karl Shaffer
am: db5ca8a0c9 Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677130 Change-Id: I3030f02e66bf858c14544e5779a916262f7680ff
2021-04-29Add a script to prepare a Bazel environment am: 52534a2703 am: 7ddda3ee6cKarl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677130 Change-Id: I8735eb913a60a7c5f4d8ab55a74eda04a012a3ce
2021-04-29Add the script data filesKarl Shaffer
The data/ directory includes the `static` and `templates` directories which is used as the source for the generated Bazel environment. Files placed in the template directory are formatted and staged, and eventually synced to the source tree. Thus, they are stored in the same directory hierarchy as the source tree. Files placed in the static directory are copied into the source tree. Test: N/A Change-Id: I5adb3cd95e3142030287132b6ebc88d21da4f15c
2021-04-29Add a script to prepare a Bazel environment am: 52534a2703Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677130 Change-Id: I26bbd7e50a1e722c9a416e95ac28e54d65481c3a
2021-04-19Add an OWNERS file am: af46714706 am: 61e8f83be6 am: a70e1d6483Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677129 Change-Id: Iab4c93a691532ed9ec165b1d492143b579bca971
2021-04-19Add an OWNERS file am: af46714706 am: 61e8f83be6Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677129 Change-Id: Idbd3792cf6049d4b493797c299ad1ff59e622062
2021-04-19Add an OWNERS file am: af46714706Karl Shaffer
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677129 Change-Id: I584e4ab61ef8a8d2048c796ebb97bf046ddeedac
2021-04-19Add a script to prepare a Bazel environmentKarl Shaffer
Starts the migration of the prepare_bazel_test_env script which utilizes Soong prebuilts to scaffold a Bazel environment that can be used for executing tests. Test: N/A Change-Id: Ia6f88dfa7b85f9fe9225d9d162902117d660f3bd
2021-04-19Add an OWNERS fileKarl Shaffer
Test: N/A Change-Id: I9ac775f6bf550e0b647a4c74b55c54ec556d985c
2021-04-14Initial empty repositoryInna Palant