Revert "Do not convert non-unit tests."

This reverts commit 80b54d2502.

Reason for revert: caused hello_world_test to not be converted, but it's a test that builds/passes

Bug: 300117121

Change-Id: I805cfb336b7f58a5a1e295cade16be4c471e2ed5
This commit is contained in:
Jingwen Chen
2023-09-25 12:37:01 +00:00
parent cbe61221b6
commit 6e119745b8
2 changed files with 0 additions and 28 deletions

View File

@@ -631,23 +631,3 @@ cc_test {
},
})
}
func TestCcTest_UnitTestFalse(t *testing.T) {
runCcTestTestCase(t, ccTestBp2buildTestCase{
description: "cc test with test_options.tags converted to tags",
blueprint: `
cc_test {
name: "mytest",
host_supported: true,
srcs: ["test.cpp"],
test_options: { unit_test: false },
}
` + simpleModule("cc_library_static", "libgtest_main") +
simpleModule("cc_library_static", "libgtest"),
stubbedBuildDefinitions: []string{
"libgtest_main",
"libgtest",
},
targets: []testBazelTarget{},
})
}