Skip to content

Commit

Permalink
Add multiplex worker assertions for desugaring
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Jan 27, 2023
1 parent 17e3fd1 commit b0426f4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/shell/bazel/android/desugarer_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,17 @@ function test_java_8_android_binary_worker_strategy() {
|| fail "build failed"
}

function test_java_8_android_binary_multiplex_worker_strategy() {
create_new_workspace
setup_android_sdk_support
create_java_8_android_binary

assert_build //java/bazel:bin \
--experimental_worker_multiplex \
--desugar_for_android \
--persistent_multiplex_android_dex_desugar \
--worker_verbose &> $TEST_log
expect_log "Created new non-sandboxed Desugar multiplex-worker (id [0-9]\+)"
}

run_suite "Android desugarer integration tests"

0 comments on commit b0426f4

Please sign in to comment.