- add ceedling/cmock/unity as testing framework and support
- unified makefile project for the whole repos - new separate project for tests
This commit is contained in:
20
tests/vendor/ceedling/lib/stream_wrapper.rb
vendored
Normal file
20
tests/vendor/ceedling/lib/stream_wrapper.rb
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
class StreamWrapper
|
||||
|
||||
def stdout_puts(string)
|
||||
$stdout.puts(string)
|
||||
end
|
||||
|
||||
def stdout_flush
|
||||
$stdout.flush
|
||||
end
|
||||
|
||||
def stderr_puts(string)
|
||||
$stderr.puts(string)
|
||||
end
|
||||
|
||||
def stderr_flush
|
||||
$stderr.flush
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user