tree: 449b66440dc8177a8692c617d45bb3f81df118cc [path history] [tgz]
  1. golden_output/
  2. root/
  3. README.md
testdata/README.md

Run diff with golden output

Simply running ./rundiff.sh works. When the changes are found, you can accept the changes by running the following command.

diff -ruN testdata/golden_output testdata/output | patch -p2 -d testdata/golden_output

How to prepare golden input

testdata/root is read by linkerconfig as a root dir for golden output.

testdata/root/
    system/etc/
        sanitizer.libraries.txt
        vndkcorevariant.libraries.txt
    apex/
        <apex>/
            apex_manifest.json   # copied from intermediate apex_manifest_full.json
            bin/.keep            # indicates to generate ld.config.txt for this apex