Skip to content

Commit

Permalink
Temporarily disable rb_str_concat, add CI tests (#407)
Browse files Browse the repository at this point in the history
Make sure we can load the test-all runner and run test_yjit.rb
  • Loading branch information
maximecb authored Aug 16, 2022
1 parent c07a722 commit efeb5a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,7 @@ yjit_task:
# Check that we can build rdoc successfully
make_rdoc_script: source $HOME/.cargo/env && make -j rdoc

# TODO: check that we can we run test-all successfully
# Run John's YJIT instruction tests, and make sure we can load the test-all runner
test_yjit_script: source $HOME/.cargo/env && make test-all TESTS='test/ruby/test_yjit.rb' RUN_OPTS="--yjit-call-threshold=1"

# TODO: check that we can we run all of test-all successfully
5 changes: 4 additions & 1 deletion .github/workflows/yjit-new-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ jobs:
# Check that we can build rdoc successfully
- run: make -j rdoc

# TODO: check that we can we run test-all successfully
# Run John's YJIT instruction tests, and make sure we can load the test-all runner
- run: make test-all TESTS='test/ruby/test_yjit.rb' RUN_OPTS="--yjit-call-threshold=1"

# TODO: check that we can we run all of test-all successfully
2 changes: 1 addition & 1 deletion yjit/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6134,7 +6134,7 @@ impl CodegenGlobals {
//self.yjit_reg_method(rb_cString, "to_s", jit_rb_str_to_s);
//self.yjit_reg_method(rb_cString, "to_str", jit_rb_str_to_s);
self.yjit_reg_method(rb_cString, "bytesize", jit_rb_str_bytesize);
self.yjit_reg_method(rb_cString, "<<", jit_rb_str_concat);
//self.yjit_reg_method(rb_cString, "<<", jit_rb_str_concat);
//self.yjit_reg_method(rb_cString, "+@", jit_rb_str_uplus);

// Thread.current
Expand Down

0 comments on commit efeb5a8

Please sign in to comment.