diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2008-08-17 13:32:40 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-08-17 13:32:40 +0200 |
commit | 4416e794240928f23a7f65f55d436c5633a0bb1d (patch) | |
tree | 79ac940d53e9343701d141f41694b585fcfc9d6b /bin | |
parent | 4eba68f6a3b1c905acb5162d6d5a56efd7b3cc86 (diff) | |
download | bacon-4416e794240928f23a7f65f55d436c5633a0bb1d.tar.gz bacon-4416e794240928f23a7f65f55d436c5633a0bb1d.tar.xz bacon-4416e794240928f23a7f65f55d436c5633a0bb1d.zip |
Add option to disable backtraces
darcs-hash:20080817113240-4fc50-3162b572aebb4183f9482d99ad58b2f98b972076.gz
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bacon | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bacon b/bin/bacon index bf3af97..c76701e 100755 --- a/bin/bacon +++ b/bin/bacon @@ -54,6 +54,9 @@ opts = OptionParser.new("", 24, ' ') { |opts| "do FORMAT (SpecDox/TestUnit/Tap) output") { |format| output = format + "Output" } + opts.on("-Q", "--no-backtrace", "don't print backtraces") { + Bacon.const_set :Backtraces, false + } opts.on("-a", "--automatic", "gather tests from ./test/, include ./lib/") { $LOAD_PATH.unshift "lib" if File.directory? "lib" |