You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by dl...@locus.apache.org on 2000/10/11 08:45:22 UTC

cvs commit: jakarta-velocity/testbed test-junit.sh

dlr         00/10/10 23:45:17

  Added:       testbed  test-junit.sh
  Log:
  Primitive test running script.
  
  Revision  Changes    Path
  1.1                  jakarta-velocity/testbed/test-junit.sh
  
  Index: test-junit.sh
  ===================================================================
  #!/bin/sh
  
  CLASSPATH=.:../bin/classes
  
  for jar in ../build/lib/*.jar; do
      CLASSPATH=${CLASSPATH}:${jar}
  done
  
  # Tests can be run in either GUI or CLI mode.
  # values: junit.textui.TestRunner | junit.swingui.TestRunner
  TEST_RUNNER=junit.swingui.TestRunner
  
  java -cp ${CLASSPATH} \
      ${TEST_RUNNER} \
      org.apache.velocity.test.VelocityTest \
      > output 2>&1