aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-09-26 11:39:25 -0400
committerKevin Newton <kddnewton@gmail.com>2023-09-27 12:10:23 -0400
commit3cec94624b0a0b308df03f5dba22dd5eb2e4f515 (patch)
tree2841a7bed77f43fa424d36117176076254b22d0b /tool
parent0517ca3aac2c834a07dff981a4888f631d6330c6 (diff)
downloadruby-3cec94624b0a0b308df03f5dba22dd5eb2e4f515.tar.gz
Rename compiler test to iseq test
Diffstat (limited to 'tool')
-rwxr-xr-xtool/sync_default_gems.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index d14adf0a91..c3d010f82a 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -398,14 +398,14 @@ module SyncDefaultGems
cp_r("#{upstream}/spec", "spec/syntax_suggest")
cp_r("#{upstream}/exe/syntax_suggest", "libexec/syntax_suggest")
when "yarp"
- # We don't want to remove yarp_init.c, so we temporarily move it
- # out of the yarp dir, wipe the yarp dir, and then put it back
+ # We don't want to remove YARP-specific files that existing in ruby/ruby
+ # that do not exist in ruby/yarp, so we temporarily move them out of the
+ # yarp dir, wipe the yarp dir, and then put them back.
mv("yarp/yarp_init.c", ".")
mv("yarp/yarp_compiler.c", ".")
- mv("test/yarp/compiler_test.rb", ".")
+ mv("test/yarp/iseq_test.rb", ".")
rm_rf(%w[test/yarp yarp])
- # Run the YARP templating scripts
cp_r("#{upstream}/ext/yarp", "yarp")
cp_r("#{upstream}/lib/.", "lib")
cp_r("#{upstream}/test/yarp", "test")
@@ -422,7 +422,7 @@ module SyncDefaultGems
rm("yarp/extconf.rb")
mv("yarp_init.c", "yarp/")
mv("yarp_compiler.c", "yarp/")
- mv("compiler_test.rb", "test/yarp/")
+ mv("iseq_test.rb", "test/yarp/")
else
sync_lib gem, upstream
end