2007-06-09 01:57:13 +08:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2009-09-21 06:00:23 +08:00
|
|
|
# TestRunner.sh - Backward compatible utility for testing an individual file.
|
2008-03-21 06:50:54 +08:00
|
|
|
|
2009-09-21 06:00:23 +08:00
|
|
|
# Find where this script is.
|
|
|
|
Dir=$(dirname $(which $0))
|
|
|
|
AbsDir=$(cd $Dir; pwd)
|
2008-03-21 06:50:54 +08:00
|
|
|
|
2009-09-21 06:00:23 +08:00
|
|
|
# Find 'lit', assuming standard layout.
|
|
|
|
lit=$AbsDir/../../../utils/lit/lit.py
|
2008-09-04 08:30:11 +08:00
|
|
|
|
2009-09-21 06:00:23 +08:00
|
|
|
# Dispatch to lit.
|
|
|
|
$lit "$@"
|