platform_build/tools/releasetools/testdata
Tao Bao f47bf0fecf releasetools: Fix an issue in GetMinSdkVersion.
The following is a buggy pattern that won't capture anything into err.
The issue is benign, since a failed run would be eventually captured by
a subsequent check.

  p = Run(["aapt", ...], stdout=subprocess.PIPE)
  output, err = p.communicate()
  if err:
    raise ...

This CL changes the error detection to be based on the return code from
aapt. It also adds some sanity test to ensure the call to aapt works.
The test app is built from AOSP com.android.cts.ctsshim (chosen mostly
because of its small size).

Test: python -m unittest test_common
Change-Id: I337f141bd0fc5f0801dfc628c601b88b7640789c
2018-03-22 10:27:04 -07:00
..
media.x509.pem releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
payload_signer.sh
platform.x509.pem releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
sigfile.bin
signed-sigfile.bin
TestApp.apk releasetools: Fix an issue in GetMinSdkVersion. 2018-03-22 10:27:04 -07:00
testkey.pk8
testkey.pubkey.pem releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
testkey.x509.pem
testkey_mincrypt releasetools: Support validating Verified Boot images. 2018-03-12 00:17:09 -07:00
testkey_with_passwd.pk8
testkey_with_passwd.x509.pem
verity.x509.pem releasetools: Clean up test_sign_target_files_apks.py. 2018-02-20 10:12:15 -08:00