commit | d7995028b401e3263f0736d52efe9a547043ee55 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Jul 26 13:35:40 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Jul 26 13:48:13 2017 -0700 |
tree | 755a719fa1986cdd1a1ab9291166636f18aa98f2 | |
parent | 3884548b4ddbdad035b1af71bd4aa84205eece43 [diff] |
Fix hidl_test when there is a failure. 'set -e' was added, but this breaks the test badly when it fails because the test relies on checking $? and 'set -e' prevents it from killing the server process. Test: hidl_test Bug: 63940457 Change-Id: Ia863f35d899aa025c5576d6617c845f17e9ccb5c
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0