summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Fagerburg <pfagerburg@google.com>2020-07-21 13:12:02 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-22 22:49:46 +0000
commit514923bc59f5a3435dbb7cbf348735ed41889ffe (patch)
tree15efb9db43b84f903e1915a78162e020808fec09 /test
parentb93f139e47f8ced7ebe2414737296f9a6ba49cbc (diff)
downloadchrome-ec-514923bc59f5a3435dbb7cbf348735ed41889ffe.tar.gz
ec: change usage of "sane" per inclusive language
Google is working to change its source code to use more inclusive language. To that end, replace the terms "sane", "sanity check", and similar with inclusive/non-stigmatizing alternatives. BUG=b:161832469 BRANCH=None TEST=`make buildall -j` succeeds. `grep -Eir "sane|sanity" .` shows results only in third-party code or documentation. Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org> Change-Id: I29e78ab27f84f17b1ded75cfa10868fa4e5ae88c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311169 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/timer_jump.py2
-rw-r--r--test/usb_pe_drp.c2
-rw-r--r--test/usb_prl.c2
-rw-r--r--test/usb_prl_old.c2
-rw-r--r--test/usb_sm_checks.h2
-rw-r--r--test/usb_typec_ctvpd.c2
-rw-r--r--test/usb_typec_drp_acc_trysrc.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/test/timer_jump.py b/test/timer_jump.py
index e367969cc8..f506a69fcf 100644
--- a/test/timer_jump.py
+++ b/test/timer_jump.py
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
-# Timer test: check time sanity when jumping between images
+# Timer test: check time consistency when jumping between images
#
import time
diff --git a/test/usb_pe_drp.c b/test/usb_pe_drp.c
index 1060e62304..2d6a849504 100644
--- a/test/usb_pe_drp.c
+++ b/test/usb_pe_drp.c
@@ -164,7 +164,7 @@ void run_test(int argc, char **argv)
RUN_TEST(test_pe_frs);
RUN_TEST(test_vbus_gpio_discharge);
- /* Do basic state machine sanity checks last. */
+ /* Do basic state machine validity checks last. */
RUN_TEST(test_pe_no_parent_cycles);
RUN_TEST(test_pe_no_empty_state);
diff --git a/test/usb_prl.c b/test/usb_prl.c
index 2e7406b4c3..4021ab3881 100644
--- a/test/usb_prl.c
+++ b/test/usb_prl.c
@@ -162,7 +162,7 @@ void run_test(int argc, char **argv)
/* TODO add tests here */
- /* Do basic state machine sanity checks last. */
+ /* Do basic state machine validity checks last. */
RUN_TEST(test_prl_no_parent_cycles);
RUN_TEST(test_prl_no_empty_state);
RUN_TEST(test_prl_all_states_named);
diff --git a/test/usb_prl_old.c b/test/usb_prl_old.c
index 5dd7c58d92..8a2dea0fd0 100644
--- a/test/usb_prl_old.c
+++ b/test/usb_prl_old.c
@@ -1411,7 +1411,7 @@ void run_test(int argc, char **argv)
/* TODO(shurst): More PD 3.0 Tests */
- /* Do basic state machine sanity checks last. */
+ /* Do basic state machine validity checks last. */
RUN_TEST(test_prl_no_parent_cycles);
RUN_TEST(test_prl_no_empty_state);
RUN_TEST(test_prl_all_states_named);
diff --git a/test/usb_sm_checks.h b/test/usb_sm_checks.h
index 0a556518a4..e6b459f1f3 100644
--- a/test/usb_sm_checks.h
+++ b/test/usb_sm_checks.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* Sanity tests for a state machine definition */
+/* Validity tests for a state machine definition */
#ifndef __CROS_EC_USB_SM_CHECKS_H
#define __CROS_EC_USB_SM_CHECKS_H
diff --git a/test/usb_typec_ctvpd.c b/test/usb_typec_ctvpd.c
index 79d3a90294..08c23eb284 100644
--- a/test/usb_typec_ctvpd.c
+++ b/test/usb_typec_ctvpd.c
@@ -1521,7 +1521,7 @@ void run_test(int argc, char **argv)
RUN_TEST(test_ctvpd_behavior_case6);
#endif
- /* Do basic state machine sanity checks last. */
+ /* Do basic state machine validity checks last. */
RUN_TEST(test_tc_no_parent_cycles);
RUN_TEST(test_tc_no_empty_state);
RUN_TEST(test_tc_all_states_named);
diff --git a/test/usb_typec_drp_acc_trysrc.c b/test/usb_typec_drp_acc_trysrc.c
index 9c47bedbf0..1578a04390 100644
--- a/test/usb_typec_drp_acc_trysrc.c
+++ b/test/usb_typec_drp_acc_trysrc.c
@@ -709,7 +709,7 @@ void run_test(int argc, char **argv)
RUN_TEST(test_cc_open_on_normal_reset);
RUN_TEST(test_cc_rd_on_por_reset);
- /* Do basic state machine sanity checks last. */
+ /* Do basic state machine validity checks last. */
RUN_TEST(test_tc_no_parent_cycles);
RUN_TEST(test_tc_no_empty_state);
RUN_TEST(test_tc_all_states_named);