Skip to content

Commit 904ab04

Browse files
committed
Do not skip test/setup just because it has been attempted, only when it has succeeded.
1 parent 45449c4 commit 904ab04

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/pkg/*.tar.bz2
44
/pkg/*.zip
55
/test/opt/rubies
6+
/test/setup.done
67
/test/home/.zcompdump

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ all: $(PKG) $(SIG)
4343
check:
4444
shellcheck share/$(NAME)/*.sh
4545

46-
test/opt/rubies:
46+
test/setup.done:
4747
./test/setup
4848

49-
test: test/opt/rubies
49+
test: test/setup.done
5050
SHELL=`command -v bash` ./test/runner
5151
SHELL=`command -v zsh` ./test/runner
5252

test/setup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,5 @@ tar -xjf "$test_ruby_archive" || fail "Unpacking failed"
169169

170170
log "Cleaning up ..."
171171
rm -f "$test_ruby_archive"
172+
173+
touch "$PREFIX/setup.done"

0 commit comments

Comments
 (0)