File: runtests

package info (click to toggle)
libopenid-ruby 2.1.2debian-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,140 kB
  • ctags: 3,251
  • sloc: ruby: 17,165; xml: 219; sh: 54; python: 30; makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download
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")
RUBYLIB="$REPOROOT/lib" $RUBY "$@" "$REPOROOT/admin/runtests.rb"