diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:17:30 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:17:30 +0000 |
commit | 4988dd976c16ce88f7565e6c5e9b642fb5335474 (patch) | |
tree | 1ad3c7880ce82a72931fdf8214508d48db662c19 | |
parent | 47de8acc90fd9371a64a05f05384ea6d57c22fae (diff) | |
parent | 569980a32405b9d8f6bb8c0aea73b5ab256645de (diff) | |
download | puffin-android14-mainline-networking-release.tar.gz |
Snap for 10447354 from 569980a32405b9d8f6bb8c0aea73b5ab256645de to mainline-networking-releaseaml_net_341710020aml_net_341610030aml_net_341510050aml_net_341510000aml_net_341411030aml_net_341311010aml_net_341310020aml_net_341014000aml_net_340913000android14-mainline-networking-release
Change-Id: I5e1ac415f46263d008061bced84fd9656ebe4b81
-rw-r--r-- | PRESUBMIT.cfg | 3 | ||||
-rw-r--r-- | TEST_MAPPING | 2 | ||||
-rw-r--r-- | src/unittest_common.cc | 2 | ||||
-rw-r--r-- | src/unittest_common.h | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg index 9993474..e037261 100644 --- a/PRESUBMIT.cfg +++ b/PRESUBMIT.cfg @@ -1,6 +1,5 @@ [Hook Scripts] -hook0=../../../../chromite/bin/cros lint ${PRESUBMIT_FILES} -hook1=../../../platform2/common-mk/gnlint.py ${PRESUBMIT_FILES} +cros lint = cros lint --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES} [Hook Overrides] clang_format_check: true diff --git a/TEST_MAPPING b/TEST_MAPPING index d78c7bd..f4e1ad5 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -4,7 +4,7 @@ "name": "puffin_unittest" } ], - "hwasan-postsubmit": [ + "hwasan-presubmit": [ { "name": "puffin_unittest" } diff --git a/src/unittest_common.cc b/src/unittest_common.cc index ad3a85f..ac050dd 100644 --- a/src/unittest_common.cc +++ b/src/unittest_common.cc @@ -4,6 +4,8 @@ #include "puffin/src/unittest_common.h" +#include <unistd.h> + using std::string; using std::vector; diff --git a/src/unittest_common.h b/src/unittest_common.h index eac61e6..8727986 100644 --- a/src/unittest_common.h +++ b/src/unittest_common.h @@ -5,6 +5,8 @@ #ifndef SRC_UNITTEST_COMMON_H_ #define SRC_UNITTEST_COMMON_H_ +#include <unistd.h> + #include <string> #include <vector> |