File: runtests

package info (click to toggle)
ruby-openid 2.9.2debian-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,300 kB
  • sloc: ruby: 17,952; javascript: 6,183; xml: 219; sh: 78; python: 30; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

case "$1" in
    --coverage)
        shift
	RUBY="rcov --exclude=^lib/hmac/,^admin/ --sort=coverage"
	;;
    *)
	RUBY="ruby"
	;;
esac

HERE=$(dirname $(readlink --canonicalize "$0"))
REPOROOT=$(dirname "$HERE")
TESTING_MEMCACHE="localhost:11211" RUBYLIB="$REPOROOT/lib" $RUBY "$@" "$REPOROOT/admin/runtests.rb"