Skip to content

Commit dfa4f06

Browse files
author
Yorick Peterse
committedDec 26, 2015
Updated MSpec source to �[33m4d5.
1 parent a2d2919 commit dfa4f06

File tree

97 files changed

+834
-865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+834
-865
lines changed
 

‎mspec/lib/mspec/commands/mspec.rb

-8
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ def options(argv=ARGV)
3737

3838
options.targets
3939

40-
options.on("-D", "--gdb", "Run under gdb") do
41-
config[:use_gdb] = true
42-
end
43-
4440
options.on("-A", "--valgrind", "Run under valgrind") do
4541
config[:use_valgrind] = true
4642
end
@@ -162,12 +158,8 @@ def run
162158
else
163159
if config[:use_valgrind]
164160
more = ["--child-silent-after-fork=yes",
165-
"--db-attach=#{config[:use_gdb] ? 'yes' : 'no'}",
166161
config[:target]] + argv
167162
exec "valgrind", *more
168-
elsif config[:use_gdb]
169-
more = ["--args", config[:target]] + argv
170-
exec "gdb", *more
171163
else
172164
cmd, *rest = config[:target].split(/\s+/)
173165
argv = rest + argv unless rest.empty?

‎mspec/lib/mspec/guards/block_device.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class BlockDeviceGuard < SpecGuard
44
def match?
5-
platform_is_not :freebsd, :windows do
5+
platform_is_not :freebsd, :windows, :opal do
66
block = `find /dev /devices -type b 2> /dev/null`
77
return !(block.nil? || block.empty?)
88
end

3 commit comments

Comments
 (3)

heftig commented on Dec 26, 2015

@heftig
Contributor

What's the ANSI escape doing in the commit subject?

yorickpeterse commented on Dec 27, 2015

@yorickpeterse
Contributor

@heftig I think that's because I have colours enabled when running git log.

yorickpeterse commented on Dec 27, 2015

@yorickpeterse
Contributor

Fixed in 1142534

Please sign in to comment.