Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make testing multiple interpreters easier
- Loading branch information
Showing
3 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
try() { | ||
RUBY=$1 ./test >&2 | ||
$1 -v | ||
} | ||
|
||
{ | ||
echo -n "This commit was tested " | ||
date | ||
echo using the following ruby interpreters: | ||
|
||
for r in $* | ||
do try $r | ||
done | ||
} >tested-on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This commit was tested Mon Mar 28 03:28:59 PDT 2011 | ||
using the following ruby interpreters: | ||
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] | ||
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux] | ||
rubinius 1.2.3 (1.8.7 release 2011-03-15 JI) [x86_64-unknown-linux-gnu] |