Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better test runner.

  • Loading branch information...
commit ddb90419d575c0a182cf9dd2f71b95af9a0c5dff 1 parent 1a194a0
@mojombo mojombo authored
Showing with 8 additions and 2 deletions.
  1. +1 −2  Rakefile
  2. +7 −0 etest/run.es
View
3  Rakefile
@@ -16,8 +16,7 @@ end
task :test => :chdir do
sh "erlc #{ERLC_FLAGS} -DTEST -I etest src/*.erl"
- # sh "erl -pa ebin -run git test -run git_io test -run erlang halt"
- sh "erl -pa ebin -eval \"git:test(), git_io:test(), erlang:halt().\""
+ sh "etest/run.es"
end
task :console => :chdir do
View
7 etest/run.es
@@ -0,0 +1,7 @@
+#!/usr/bin/env escript
+%% -*- erlang -*-
+%%! -pa ./ebin -sasl -boot start_sasl -noshell
+
+main(_) ->
+ git:test(),
+ git_io:test().
Please sign in to comment.
Something went wrong with that request. Please try again.