Skip to content

Commit

Permalink
Temp fix to use --gdb with mspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ford committed Jul 29, 2008
1 parent 2af0a49 commit 0411620
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mspec/lib/mspec/commands/mspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ def multi_exec(argv)
def run
ENV['MSPEC_RUNNER'] = '1'

argv = ["-v"]
argv = []
argv.concat config[:flags]
argv.concat config[:includes]
argv.concat config[:requires]
argv << "-v"
argv << "#{MSPEC_HOME}/bin/mspec-#{ config[:command] || "run" }"
argv.concat config[:options]

Expand Down

0 comments on commit 0411620

Please sign in to comment.