Execute test.sh within build.sh

Execution of test.sh is added to the end of build.sh in order to
run the testscript on Android Build server when build.sh is
executed. Also in test.sh, allow DIST_DIR to be defined with
preset environment variables DIST_DIR or OUT_DIR.

Bug: 70486286
Test: development/vndk/snapshot/build.sh
Change-Id: Iaa44b4aa4fec49c090f36f777106377e01cffc2c
2 files changed