diff options
| author | dearblue <[email protected]> | 2021-02-06 18:09:27 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-02-06 18:09:27 +0900 |
| commit | 9d1a659bc720c8cbe3640b4c7aa5fce08c4315d2 (patch) | |
| tree | db471fdac80cc47a98fba72f577602b4f040f97e /src/kernel.c | |
| parent | 88113df0981142be989e868689bf549cb95f0e6c (diff) | |
| download | mruby-9d1a659bc720c8cbe3640b4c7aa5fce08c4315d2.tar.gz mruby-9d1a659bc720c8cbe3640b4c7aa5fce08c4315d2.zip | |
Ignore if `conf.enable_test` does not exist
Because if the configuration file didn't contain any `conf.enable_test`, `rake test` would report an exception and exit.
```console
% cat my_config.rb
MRuby::Build.new { toolchain }
% rake MRUBY_CONFIG=my_config.rb test
...SNIP...
rake aborted!
NoMethodError: undefined method `invoke' for nil:NilClass
/var/tmp/mruby/tasks/test.rake:24:in `block (3 levels) in <top (required)>'
Tasks: TOP => test => test:build => test:build:lib
(See full trace by running task with --trace)
```
Diffstat (limited to 'src/kernel.c')
0 files changed, 0 insertions, 0 deletions
