Skip to content

Commit 3befd7d

Browse files
committed
cleanup: rename sanitycheck references to twister
Cleanup references to sanitycheck that should now be twister. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
1 parent fadef43 commit 3befd7d

File tree

14 files changed

+25
-25
lines changed

14 files changed

+25
-25
lines changed

samples/drivers/espi/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The sample can be built and executed on boards supporting eSPI.
2222
Any pins required for minimum eSPI handshake should be configured.
2323
Sample requires a correct harness and fixture setup.
2424
Please connect an eSPI device to the testing board.
25-
After that for the correct execution of that sample in sanitycheck, add into
25+
After that for the correct execution of that sample in twister, add into
2626
boards's map-file next fixture settings::
2727

2828
- fixture: espi_device_connect

samples/drivers/kscan/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The sample can be built and executed on boards supporting a Keyboard Matrix.
1717
It requires a correct fixture setup. Please connect a Keyboard Matrix to
1818
exercise the functionality (you need to obtain the right keymap from the vendor
1919
because they vary across different manufactures).
20-
For the correct execution of that sample in sanitycheck, add into boards's
20+
For the correct execution of that sample in twister, add into boards's
2121
map-file next fixture settings::
2222

2323
- fixture: fixture_connect_keyboard

samples/drivers/ps2/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Building and Running
1616
The sample can be built and executed on boards supporting PS/2.
1717
It requires a correct fixture setup. Please connect a PS/2 mouse in order to
1818
exercise the functionality.
19-
For the correct execution of that sample in sanitycheck, add into boards's
19+
For the correct execution of that sample in twister, add into boards's
2020
map-file next fixture settings::
2121

2222
- fixture: fixture_connect_mouse

samples/sensor/ti_hdc/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ Build Testing
6464

6565
.. code-block:: bash
6666
67-
$ZEPHYR_BASE/scripts/sanitycheck -T $ZEPHYR_BASE/samples/sensor/ti_hdc/ -p nucleo_l496zg --device-testing --device-serial /dev/ttyACM0 -t build
67+
$ZEPHYR_BASE/scripts/twister -T $ZEPHYR_BASE/samples/sensor/ti_hdc/ -p nucleo_l496zg --device-testing --device-serial /dev/ttyACM0 -t build
6868
6969
Target Testing
7070
**************
7171

7272
.. code-block:: bash
7373
74-
$ZEPHYR_BASE/scripts/sanitycheck -T $ZEPHYR_BASE/samples/sensor/ti_hdc/ -p nucleo_l496zg --device-testing --device-serial /dev/ttyACM0 -t target
74+
$ZEPHYR_BASE/scripts/twister -T $ZEPHYR_BASE/samples/sensor/ti_hdc/ -p nucleo_l496zg --device-testing --device-serial /dev/ttyACM0 -t target
7575
7676
7777
References

scripts/.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parser.out
22
parsetab.py
33
tests/.mypy_cache
4-
tests/sanitycheck/.pytest_cache
5-
tests/sanitycheck/htmlcov
6-
tests/sanitycheck/__pycache__
7-
tests/sanitycheck/.coverage
4+
tests/twister/.pytest_cache
5+
tests/twister/htmlcov
6+
tests/twister/__pycache__
7+
tests/twister/.coverage

scripts/footprint/compare_footprint

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This script help you to compare footprint results with previous commits in git.
66
If you don't have a git repository, it will compare your current tree
77
against the last release results.
8-
To run it you need to set up the same environment as sanity check.
8+
To run it you need to set up the same environment as twister.
99
The scripts take 2 optional args COMMIT and BASE_COMMIT, which tell the scripts
1010
which commit to use as current commit and as base for comparing, respectively.
1111
The script can take any SHA commit recognized for git.
@@ -70,7 +70,7 @@ def init_logs():
7070
def parse_args():
7171
parser = argparse.ArgumentParser(
7272
description="Compare footprint apps RAM and ROM sizes. Note: "
73-
"To run it you need to set up the same environment as sanitycheck.")
73+
"To run it you need to set up the same environment as twister.")
7474
parser.add_argument('-b', '--base-commit', default=None,
7575
help="Commit ID to use as base for footprint "
7676
"compare. Default is parent current commit."
@@ -119,7 +119,7 @@ def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'),
119119
output_file=None):
120120
if not output_file:
121121
output_file = sanity_results_filename(commit)
122-
cmd = '/bin/bash -c "source ./zephyr-env.sh && sanitycheck'
122+
cmd = '/bin/bash -c "source ./zephyr-env.sh && twister'
123123
cmd += ' +scripts/sanity_chk/sanity_compare.args -o %s"' % output_file
124124
logger.debug('Sanity (%s) %s' %(commit, cmd))
125125

scripts/requirements-base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
pyelftools>=0.26
88

99
# used by dts generation to parse binding YAMLs, also used by
10-
# sanitycheck to parse YAMLs
10+
# twister to parse YAMLs
1111
PyYAML>=5.1
1212

1313
# used by west_commands

scripts/requirements-build-test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# BUILD-TEST: required to do build tests of zephyr
22
#
3-
# things used by sanitycheck or other things like code coverage or python
3+
# things used by twister or other things like code coverage or python
44
# testing
55

6-
# used by sanitycheck for ansi color
6+
# used by twister for ansi color
77
colorama
88

9-
# python lex/yex used by sanitycheck
9+
# python lex/yex used by twister
1010
ply>=3.10
1111

1212
# optional, but used for validation of YAML

scripts/requirements-extras.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# EXTRAS: optional or useful for development/developers workflow
22

3-
# used by sanitycheck for --test-tree option
3+
# used by twister for --test-tree option
44
anytree
55

66
# helper for developers - check git commit messages

scripts/requirements-run-test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# RUN-TEST: required to do run time tests of zephyr
22
#
3-
# things used by sanitycheck or related in run time testing
3+
# things used by twister or related in run time testing
44

55
# used to connect to boards for console IO
66
pyserial
77

88
# used to flash & debug various boards
99
pyocd>=0.28.0
1010

11-
# used by sanitycheck for board/hardware map
11+
# used by twister for board/hardware map
1212
tabulate
1313

1414
# used by mcuboot
1515
cbor>=1.0.0
1616

17-
# use for sanitycheck
17+
# use for twister
1818
psutil

0 commit comments

Comments
 (0)