Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
appease shellcheck, remove most phase
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Sep 29, 2023
1 parent 2fbf5a4 commit f3188d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
26 changes: 2 additions & 24 deletions bin/ch-test
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ fi
while [[ $# -gt 0 ]]; do
opt=$1; shift
case $opt in
all|build|build-images|clean|examples|mk-perm-dirs|most|rm-perm-dirs|rootemu|run)
all|build|build-images|clean|examples|mk-perm-dirs|rm-perm-dirs|rootemu|run)
require_unset phase
phase=$opt
;;
Expand Down Expand Up @@ -1189,28 +1189,6 @@ case $phase in
done
echo
;;
most)
phase=build
dir_tar_mk
builder_check
test_make
test_build_images
test_build

phase=run
dir_img_mk
dir_tar_check
test_make
test_run

phase=examples
dir_tar_check
test_make
test_examples

# Kobe.
win
;;
one-file)
test_one_file
win
Expand All @@ -1222,7 +1200,7 @@ case $phase in
;;
rootemu)
if [[ $scope != full ]]; then
printf "error: rootemu incompatible with scope: $scope\n"
printf "error: rootemu incompatible with scope: %s\n" "$scope"
exit 1
fi
test_rootemu "foo"
Expand Down
4 changes: 0 additions & 4 deletions doc/ch-test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ allows trading off thoroughness versus time.
Execute phases :code:`build`, :code:`rootemu`, :code:`run`, and
:code:`examples`, in that order.

:code:`most`
Execute phases :code:`build`, :code:`run`, and :code:`examples`, in that
order. Equivalent to :code:`all`, without the :code:`rootemu` phase.

:code:`mk-perm-dirs`
Create the filesystem permissions directories. Requires
:code:`--perm-dirs`.
Expand Down

0 comments on commit f3188d3

Please sign in to comment.