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

Commit

Permalink
try different skip method
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Oct 3, 2023
1 parent 0acc620 commit ed765cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 7 additions & 3 deletions bin/ch-test
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,13 @@ test_one_file () {

test_rootemu () {
if command -v ch-image > /dev/null 2>&1; then
echo 'executing root emulation tests...'
bats force-auto.bats
echo yes > "$TMP_/rootemu"
if [[ "$scope" != "full" ]]; then
echo "skipping root emulation tests (full scope only)"
else
echo 'executing root emulation tests...'
bats force-auto.bats
echo yes > "$TMP_/rootemu"
fi
elif [[ -n "$1" ]]; then
printf "error: ch-image required, not found\n"
exit 1
Expand Down
4 changes: 0 additions & 4 deletions test/force-auto.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ print("""\
load common
setup_file () {
scope full
}
setup () {
[[ $CH_TEST_BUILDER = ch-image ]] || skip 'ch-image only'
[[ $CH_IMAGE_CACHE = enabled ]] || skip 'bucache enabled only'
Expand Down

0 comments on commit ed765cc

Please sign in to comment.