From cc29f745f9268e9eb65d313af7232e9ed1985abc Mon Sep 17 00:00:00 2001 From: Alex Dale Date: Mon, 1 Aug 2022 15:20:05 -0700 Subject: [PATCH] Re-enabled OEMCrypto fuzz tests [ Merge of http://go/wvgerrit/153121 ] `run_oemcrypto_fuzz_tests` script was disabled while OPK was transitioning between v16 and v17. Now that OPK is v17, the fuzz tests can be re-enabled. Some targets could not be built due to a missing header file. `oemcrypto/ref/src/cppbor.cpp` was updated to include the missing header. Bug: 235414753 Bug: 229160033 Bug: 236317198 Test: run_oemcrypto_fuzz_tests Change-Id: Ieeebae1f6d84c5735a669d44ea45875675fdb5a3 --- .../test/fuzz_tests/build_oemcrypto_fuzztests | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/libwvdrmengine/oemcrypto/test/fuzz_tests/build_oemcrypto_fuzztests b/libwvdrmengine/oemcrypto/test/fuzz_tests/build_oemcrypto_fuzztests index 2ebcc9d2..2b8c9023 100755 --- a/libwvdrmengine/oemcrypto/test/fuzz_tests/build_oemcrypto_fuzztests +++ b/libwvdrmengine/oemcrypto/test/fuzz_tests/build_oemcrypto_fuzztests @@ -1,15 +1,8 @@ #!/bin/bash -echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX" -echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX" -echo "TODO(b/192560463): The OPK does not build because it expects an" -echo "older version of the ODK library. The ipc_ref tests do not work because" -echo "the reference code is v17 but OPK is v16." -# Also, if you are fixing this script, it should probably be moved to the jenkins -# directory, so that it is next to all the other scripts that Luci runs. -echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX" -echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX" -exit 0 +# Also, if you are fixing this script, it should probably be moved to the +# jenkins directory, so that it is next to all the other scripts that LUCI +# runs. set -ex