diff options
Diffstat (limited to 'Test/Makefile.in')
-rw-r--r-- | Test/Makefile.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Test/Makefile.in b/Test/Makefile.in index 1e03c703f..5eeb716e2 100644 --- a/Test/Makefile.in +++ b/Test/Makefile.in @@ -45,11 +45,17 @@ check test: cd $(dir_top) && DESTDIR= \ $(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules > /dev/null; \ fi - -for f in $(sdir)/$(TESTNUM)*.ztst; do \ - ZTST_exe=$(dir_top)/Src/zsh \ - $(dir_top)/Src/zsh +Z -f $(sdir)/ztst.zsh $$f; \ - done - rm -rf Modules .zcompdump + if ZTST_testlist="`for f in $(sdir)/$(TESTNUM)*.ztst; \ + do echo $$f; done`" \ + ZTST_srcdir="$(sdir)" \ + ZTST_exe=$(dir_top)/Src/zsh \ + $(dir_top)/Src/zsh +Z -f $(sdir)/runtests.zsh; then \ + stat=0; \ + else \ + stat=1; \ + fi; \ + rm -rf Modules .zcompdump; \ + exit $$stat # ========== DEPENDENCIES FOR CLEANUP ========== |