1. ZyX_I
  2. frawor

Commits

ZyX_I  committed 54e5310

Added runtest.zsh convenience script

  • Participants
  • Parent commits 58399e7
  • Branches default

Comments (0)

Files changed (1)

File test/runtest.zsh

View file
+#!/bin/zsh
+cd $0:h
+typeset -gxr TESTDIR=$PWD
+ct=${1%%.in}
+shift
+rm -f $ct.out
+if [[ $1 == 1 ]] ; then
+    shift
+    export LANG=C
+fi
+vim $@ -u ../vimrc --cmd "let g:curtest=${(qqq)ct}" -s <(cat $ct.in)