kyab
0ad9b900a5
Fix 'make test' fail to build on Windows(MSVC)
2014-04-05 19:28:48 +09:00
kyab
ad6fa200e2
Fix build fail for 'make test' with no mrbgems
2014-04-03 19:39:25 +09:00
Yukihiro "Matz" Matsumoto
fa2e87c468
avoid mrb_string_value_cstr() to copy string between mrb_states in tests
2014-03-12 13:32:04 +09:00
take_cheeze
77fba20480
reduce mrb_open calls in mrbgem test
2014-03-10 04:45:28 +09:00
Masaki Muranaka
5cf46db561
Add comments to notify files are auto generated.
2014-03-09 18:10:27 +09:00
Yukihiro "Matz" Matsumoto
630a152093
Merge pull request #1753 from take-cheeze/assert_rb
...
Compile assert.rb once.
2014-02-27 02:04:45 +09:00
take_cheeze
7201404ee0
compile assert.rb once
2014-02-26 22:01:31 +09:00
cubicdaiya
6db2e080f0
use mrb_intern_lit instead of mrb_intern_cstr for C string literals
2014-02-26 13:48:11 +09:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01:00
Yukihiro "Matz" Matsumoto
3c7ab32e39
Merge pull request #1643 from take-cheeze/remove_unnecessary_depedency
...
Reduce unnecessary mrbgems full test rebuild.
2014-01-05 15:11:59 -08:00
cremno
4804b3f7dd
fix some warnings emitted by 'ruby -w'
...
- File.exists? is deprecated since 2.1.0
- tasks/mruby_build_commands.rake:268: ambiguous argument
2014-01-02 01:09:03 +01:00
take_cheeze
c8e8f3e446
remove unnecessary depedency in test build
2013-12-27 03:44:02 +09:00
Yuichi Nishiwaki
0e4a7b2a03
eliminate use of traditional intern API (mrb_intern()) completely
2013-09-23 19:36:50 -07:00
Yukihiro "Matz" Matsumoto
961cd408a8
replace "if not" to "unless"
2013-07-27 14:21:09 +09:00
Nihad Abbasov
9dd539bb15
remove unused variables
2013-05-09 17:05:59 +05:00
Xuejie "Rafael" Xiao
5a8abf85d7
Pass verbose flag to each gem test
2013-04-23 14:15:14 -04:00
Yukihiro "Matz" Matsumoto
c79172dfd5
put spaces after if/while
2013-04-20 23:11:43 +09:00
Yukihiro "Matz" Matsumoto
e72ac2c61f
use EXIT_SUCCESS and EXIT_FAILURE for exit status; close #1142
2013-04-06 00:48:42 +09:00
Yuichiro MASUI
32d1edb764
Fixed testrb load path
2013-03-29 18:31:24 +09:00
Masaki Muranaka
7de2deab1e
Remove string.h in khash.h
2013-03-16 17:48:30 +09:00
Xuejie "Rafael" Xiao
1f692ab0ba
Do not generate test_args_hash variable if it is not used
2013-02-27 21:29:49 -05:00
Yuichiro MASUI
0970ca9572
Support to build on pwd != mruby source root
2013-02-23 19:03:59 +09:00
nkshigeru
7632b7a097
declare local variable at the start of a block in generated gem_test.c
2013-02-20 13:02:44 +09:00
Yuichiro MASUI
a74f92b46b
Generate mrbtest.a file for sparete from driver.o
2013-02-03 13:38:18 +09:00
Carson McDonald
c1ca662170
Changed variable $test_args to constant TEST_ARGS
2013-01-30 05:36:03 -05:00
Carson McDonald
33081f52ab
Make sure quotes and escapes get escaped.
2013-01-30 05:27:42 -05:00
Carson McDonald
79f802365f
Add ability to pass parameters from mrbgem.rake spec into test scripts.
2013-01-29 22:03:29 -05:00
Yuichiro MASUI
0defb59053
build_config gets more flexibility
2013-01-21 12:46:17 +09:00
Yuichiro MASUI
ced80d2b4b
Improved build scripts and config files
2013-01-20 22:48:42 +09:00
Yuichiro MASUI
5d9aeb1502
Fixed mrbtest result numbers
2013-01-11 02:50:22 +09:00
mattn
7deef5aa7d
remove compiler warnings.
2013-01-10 14:38:05 +09:00
Yuichiro MASUI
280bad605e
Run mrbgems test run on isolate mrb_state each rb file.
...
Can access to current gem's name through GEMNAME from test.
Can change assert library each mrbgems. used spec.test_preload on mrbgem.rake.
assert library should set $ok_test, $ko_test, $kill_test, $asserts.
2013-01-07 02:58:36 +09:00