platform_build_soong/sdk
Paul Duffin db462dd987 Disallow non-existent paths in sdk package
Test behavior was changed a while ago so that tests by default ignore
non-existent source paths (unless they explicitly check for/rely on
them). Prior to that CheckSnapshot() could detect when files were
missing from the snapshot but it no longer can.

This change disallows non-existent source files in all the sdk tests
which means that they are disallowed when processing the snapshots as
they use the same preparers as were used to process the sources.

This caused a test failure which has been temporarily ignored and has
a TODO and bug associated with it.

Bug: 183184375
Test: m nothing
Change-Id: I969d8515d20ef5ae515f2b5f93d8ed4e4f8ede75
2021-03-25 12:53:22 +00:00
..
Android.bp Add platform_compat_config to sdk 2021-03-22 19:13:40 +00:00
boot_image_sdk_test.go Add TestBasicSdkWithBootImage 2021-03-22 19:13:40 +00:00
bp.go Handle property structs and BpPropertySets as values to AddProperty. 2020-09-25 00:33:04 +01:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
cc_sdk_test.go Disallow non-existent paths in sdk package 2021-03-25 12:53:22 +00:00
compat_config_sdk_test.go Improve sdk snapshot testing 2021-03-25 12:50:18 +00:00
exports.go Extract sdk registration code into function for reuse 2021-03-09 23:03:45 +00:00
exports_test.go Stop sdk package depending on testing.T being embedded in TestResult 2021-03-13 15:59:33 +00:00
java_sdk_test.go Disallow non-existent paths in sdk package 2021-03-25 12:53:22 +00:00
sdk.go Improve sdk snapshot testing 2021-03-25 12:50:18 +00:00
sdk_test.go Migrate sdk package to a per test build directory 2021-03-18 01:48:25 +00:00
testing.go Disallow non-existent paths in sdk package 2021-03-25 12:53:22 +00:00
update.go Support testing versioned/unversioned sdk Android.bp files separately 2021-02-22 18:23:22 +00:00