aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
Commit message (Collapse)AuthorAgeFilesLines
...
* * compile.c, insns.def, parse.y: fix massign order. This changeko12007-08-232-1/+1
| | | | | | | | | | | | | causes performance problem. Try vm1_swap benchmark. [ruby-dev:31522] * insns.def, insnhelper.ci: move process body of expandarray insn to vm_expandarray(). * bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb: move a solved test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test for [ruby-dev:31592].akr2007-08-221-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb:ko12007-08-221-0/+0
| | | | | | | | fix typo of filename (test_knwonbug.rb). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knwonbug.rb: added. This file will containko12007-08-222-2/+9
| | | | | | | | | | | test cases which point out known bug. If bug is fixed, tests should move to the suitable place. * bootstraptest/test_massign.rb: move a test which show known bug to test_knownbug.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (in_temporary_working_directory):akr2007-08-221-1/+0
| | | | | | | don't remove the directory specified by --dir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31522].akr2007-08-221-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix to allow self.x=ko12007-08-181-0/+10
| | | | | | | | | if x= is private. * bootstraptest/test_method.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_exception.rb: add escape character ("\") forko12007-08-181-1/+1
| | | | | | | | editors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31472].akr2007-08-181-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_arguments), insnhelper.ciko12007-08-181-0/+9
| | | | | | | | | (vm_callee_setup_arg, vm_yield_setup_args): * bootstraptest/test_block.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias),ko12007-08-171-0/+44
| | | | | | | | | | | insnhelper.ci (vm_call_method): fix to save safelevel for method node. * include/ruby/node.h: ditto. * bootstraptest/test_method.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (in_temporary_working_directory): useakr2007-08-171-6/+42
| | | | | | | | | Dir.mktmpdir to create and remove temporary directory. (Dir.mktmpdir): define if not available. [ruby-dev:31431] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_arguments), insnhelper.ciko12007-08-161-0/+7
| | | | | | | | | | (vm_callee_setup_arg, vm_yield_setup_args): fix block parameter problems. [ruby-dev:31437], [ruby-dev:31440] * bootstraptest/test_block.rb: add a test of [ruby-dev:31440]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix next/redo stack consistency.ko12007-08-161-15/+78
| | | | | | | | | | [ruby-dev:31373] * bootstraptest/test_syntax.rb: add tests for above. * sample/test.rb: fix to use __FILE__ instead of $0 to know basedir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31437].akr2007-08-161-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: fix rules around f_margs. "make test" passes all tests.ko12007-08-151-8/+21
| | | | | | | | * bootstraptest/test_block.rb: add some tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_check): don't call newtest.akr2007-08-141-1/+2
| | | | | | | | | (assert_equal): call newtest. (assert_match): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_check): new method.akr2007-08-142-15/+31
| | | | | | | | | | | | (assert_match): new method. (assert_equal): use assert_check. (pretty): give failure description as an argument. * bootstraptest/test_exception.rb: use assert_match to describe the test for [ruby-dev:31407]. [ruby-dev:31412] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: moveko12007-08-141-0/+23
| | | | | | | | | | | | init place of exception_error. * inits.c: ditto. * eval.c (Init_eval): set exception_error#throwed_state as TAG_FATAL. [ruby-dev:31407] * bootstraptest/test_exception.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_raise): check if target thread isko12007-08-121-0/+14
| | | | | | | | | thrown by another thread or not. [ruby-dev:31371] * bootstraptest/test_thread.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_peephole_optimize): fix peephole optimizationko12007-08-121-2/+4
| | | | | | | | | bug. [ruby-dev:31360] * bootstraptest/test_syntax.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test: def m() yield end; p m {|((*))|}.akr2007-08-061-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (value_expr_gen): fix to cause "void value expression"ko12007-08-061-2/+2
| | | | | | | | | | when jump expression such as "next" are shown on value_expr(). [ruby-dev:31119] * bootstraptest/test_syntax.rb: fix to above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_equal): add additionalko12007-08-061-5/+5
| | | | | | | | message parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummynobu2007-07-201-1/+1
| | | | | | | | | | NODE_BEGIN after errors. [ruby-dev:31100], [ruby-dev:31118] * parse.y (remove_begin): make empty NODE_BEGIN to NODE_NIL, instead of null. [ruby-dev:31252], [ruby-dev:31263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_syntax.rb: SEGV tests for syntax.nobu2007-07-201-0/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (get_result_string): check $?.coredump? nobu2007-07-201-2/+8
| | | | | | | | | | first. * bootstraptest/runner.rb (cleanup_coredump, check_coredump): see stackdump file too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31153].akr2007-07-131-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31160].akr2007-07-131-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_flip.rb: new test for flip-flop operator.nobu2007-07-101-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-07-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: fix node construction (around f_margs).ko12007-07-071-0/+31
| | | | | | | | | | [ruby-dev:31143] * bootstraptest/test_block.rb: add a test for above. * insnhelper.ci: fix indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:ko12007-07-071-0/+8
| | | | | | | | | | fix to pass nil as block parameter to yielded block. [ruby-dev:31147] * bootstraptest/test_block.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix load path.ko12007-07-061-4/+9
| | | | | | | | | * common.mk: fix "test" rule to run with "btest". * rubytest.rb, sample/test.rb: fix to show tests progress. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: added --quiet option.nobu2007-07-061-5/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: remove unused code.ko12007-07-051-0/+3
| | | | | | | | | | | | * compile.c (compile_massign): fix to invoke to_splat on splat rhs (example: *a = *nil). [ruby-dev:31136] * bootstraptest/test_massign.rb: add tests for above. * compile.c (iseq_compile_each): disable excess optimization. [ruby-dev:31126] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.ko12007-07-051-0/+2
| | | | | | | | | [ruby-dev:31138]. * bootstraptest/test_literal.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_array, iseq_compile_each): fix about arrayko12007-07-031-0/+1
| | | | | | | | | generation in void context. [ruby-dev:31102] * bootstraptest/test_literal.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_array): ignore NODE_ZARRAY.ko12007-07-031-0/+15
| | | | | | | | | [ruby-dev:31110] * bootstraptest/test_method.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): support v[&b]= type method call.ko12007-07-031-0/+19
| | | | | | | | | [ruby-dev:31094] * bootstraptest/test_method.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_massign): fix massign compilationko12007-07-031-0/+3
| | | | | | | | | (example: a, *v, (*x) = ...). [ruby-dev:31107] * bootstraptest/test_massign.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix to untouch $:.ko12007-06-271-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix to show file name.ko12007-06-279-0/+2573
| | | | | | | | * bootstraptest/test_*.rb: add bootstarp tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_massign), insns.def (expandarray): supportko12007-06-261-0/+140
| | | | | | | | | | postarg with massign (a, *b, c = ...). * bootstraptest/test_massign.rb: add tests for above. * compile.h: fix debug macro names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.h: change CHECK_STACK_OVERFLOW() to throw exception.ko12007-06-241-0/+27
| | | | | | | | | | | * vm.c (caller_setup_arg), vm_macro.def: remove macro_eval_setup_send_arguments and add caller_setup_arg(). * insns.def: ditto. * bootstraptest/test_method.rb: add splat arg tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (callee_setup_arg): added. support correct post arg.ko12007-06-241-5/+503
| | | | | | | | | | | | | | * vm_macro.def (macro_eval_invoke_func): fix to use callee_setup_arg. * compile.c (set_arguments): adjust for above changes. * compile.c (iseq_compile_each): ditto. * iseq.c (ruby_iseq_disasm): ditto. * yarvcore.h: add rb_iseq_t#post_arg_start and arg_size. * bootstraptest/test_method.rb: add post arg tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: set default directory toko12007-06-241-1/+13
| | | | | | | | | | | '/tmp/bootstraptest.tmpwd' and add --dir option. fix to output driver and target information. * common.mk: fix to run btest on BASERUBY and add OPTS to pass option ("make btest OPTS=..."). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: show source code in error message.aamine2007-02-251-5/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: add lib/ to load path.aamine2007-02-251-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: new option -v,--verbose.aamine2007-02-241-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e