summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-05-18 08:02:12 +0000
committerLex Spoon <lex@lexspoon.org>2007-05-18 08:02:12 +0000
commit0bdaec07d8aa04f34cb59ac80e41bf56fe375601 (patch)
treeda859e1e3bd20e25d957db8cbf9e7f9817181811 /test/scalatest
parente2e090d4e2b6f9f3b362128323c13c402a47581b (diff)
downloadscala-0bdaec07d8aa04f34cb59ac80e41bf56fe375601.tar.gz
scala-0bdaec07d8aa04f34cb59ac80e41bf56fe375601.tar.bz2
scala-0bdaec07d8aa04f34cb59ac80e41bf56fe375601.zip
Support running individual *.res tests
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scalatest b/test/scalatest
index d4cf45ae76..7dc76614f4 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -489,7 +489,7 @@ test_check_all() {
test_add_file() {
[ $# = 1 ] || abort "internal error";
case "$1" in
- *.scala )
+ *.scala | *.res )
if [ ! \( -d "$1" -o -f "$1" \) ]; then
abort "don't know what to do with '$1'";
fi;;