From: Jean Privat Date: Mon, 6 Jul 2009 16:59:21 +0000 (-0400) Subject: tests: add option handling to tests.sh X-Git-Tag: v0.3~187 X-Git-Url: http://nitlanguage.org tests: add option handling to tests.sh Signed-off-by: Jean Privat --- diff --git a/tests/tests.sh b/tests/tests.sh index a24bf32..b975f51 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -15,14 +15,29 @@ # See the License for the specific language governing permissions and # limitations under the License. -# This shell script compile, run and verify NIT program files +# This shell script compile, run and verify Nit program files -# Ruby binary (none if you want to let the program to decide) -#RUBY= +# The default nitc compiler [ -z "$NITC" ] && NITC=../bin/nitc -# Options to use with the ruby compiler -# OPT= +usage() +{ + e=`basename "$0"` + cat<