diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-03-08 12:22:24 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-03-08 12:22:24 +0900 |
| commit | 4fb3edce115456df96eb5f9191582ed73c5c9ef4 (patch) | |
| tree | 87fc81763b3f75f15fffca664951b9b3fede844a /test/bintest.rb | |
| parent | bf922c9f7a484621e43faf8e26db491a33422d63 (diff) | |
| parent | 968e3b94005e8b7f8882c274259cba6f81345ad9 (diff) | |
| download | mruby-4fb3edce115456df96eb5f9191582ed73c5c9ef4.tar.gz mruby-4fb3edce115456df96eb5f9191582ed73c5c9ef4.zip | |
Merge pull request #4318 from shuujii/set-GEMNAME-on-bintest
Set `GEMNAME` on bintest
Diffstat (limited to 'test/bintest.rb')
| -rw-r--r-- | test/bintest.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bintest.rb b/test/bintest.rb index b62419d44..d0126cfa0 100644 --- a/test/bintest.rb +++ b/test/bintest.rb @@ -1,6 +1,8 @@ $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__))) require 'test/assert.rb' +GEMNAME = "" + def cmd(s) case RbConfig::CONFIG['host_os'] when /mswin(?!ce)|mingw|bccwin/ @@ -30,6 +32,7 @@ ARGV.each do |gem| end Dir["#{gem}/bintest/**/*.rb"].each do |file| + GEMNAME.replace(File.basename(gem)) load file end end |
