move ceedling tests to test/unit-test

This commit is contained in:
hathach
2022-12-08 09:59:02 +07:00
parent 4b50ca2a61
commit be4f4e4f79
213 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
ceedling-colour-report
======================
## Overview
The colour_report replaces the normal ceedling "pretty" output with
a colorized variant, in order to make the results easier to read from
a standard command line. This is very useful on developer machines, but
can occasionally cause problems with parsing on CI servers.
## Setup
Enable the plugin in your project.yml by adding `colour_report`
to the list of enabled plugins.
``` YAML
:plugins:
:enabled:
- colour_report
```

View File

@@ -0,0 +1,16 @@
require 'ceedling/plugin'
require 'ceedling/streaminator'
require 'ceedling/constants'
class ColourReport < Plugin
def setup
@ceedling[:stream_wrapper].stdout_override(&ColourReport.method(:colour_stdout))
end
def self.colour_stdout(string)
require 'colour_reporter.rb'
report string
end
end