From 77dc7d0839c53d76092e7b75ba3c3d4734542bbd Mon Sep 17 00:00:00 2001 From: Tahsin Loqman Date: Mon, 19 Dec 2022 16:27:25 +0000 Subject: Revert "Allow adding extra tradefed options in the Android.bp file" This reverts commit 8ec823cba166a41eb0e9e5ff8fe679e691fec678. Reason for revert: DroidMonitor: Potential culprit for Bug b/262965953 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I236cc36981d8b30527ca286632727f8ca267e969 --- java/java_test.go | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'java/java_test.go') diff --git a/java/java_test.go b/java/java_test.go index 62a372cd9..dff1fd07f 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -1945,25 +1945,3 @@ func TestJavaApiLibraryJarGeneration(t *testing.T) { } } } - -func TestTradefedOptions(t *testing.T) { - result := PrepareForTestWithJavaBuildComponents.RunTestWithBp(t, ` -java_test_host { - name: "foo", - test_options: { - tradefed_options: [ - { - name: "exclude-path", - value: "org/apache" - } - ] - } -} -`) - args := result.ModuleForTests("foo", "linux_glibc_common"). - Output("out/soong/.intermediates/foo/linux_glibc_common/foo.config").Args - expected := proptools.NinjaAndShellEscape("