runtest-moduleapi 679 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. TCL_VERSIONS="8.5 8.6"
  3. TCLSH=""
  4. for VERSION in $TCL_VERSIONS; do
  5. TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
  6. done
  7. if [ -z $TCLSH ]
  8. then
  9. echo "You need tcl 8.5 or newer in order to run the Redis test"
  10. exit 1
  11. fi
  12. make -C tests/modules && \
  13. $TCLSH tests/test_helper.tcl \
  14. --single unit/moduleapi/commandfilter \
  15. --single unit/moduleapi/fork \
  16. --single unit/moduleapi/testrdb \
  17. --single unit/moduleapi/infotest \
  18. --single unit/moduleapi/propagate \
  19. --single unit/moduleapi/hooks \
  20. --single unit/moduleapi/misc \
  21. --single unit/moduleapi/blockonkeys \
  22. --single unit/moduleapi/scan \
  23. --single unit/moduleapi/datatype \
  24. --single unit/moduleapi/auth \
  25. "${@}"