File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
test/truffle/cexts/msgpack Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,13 @@ source test/truffle/common.sh.inc
4
4
5
5
jt gem-test-pack
6
6
7
- jt ruby -S gem install --local " $( jt gem-test-pack) /gem-cache/msgpack-1.2.4.gem" -V -N --backtrace
7
+ ruby_home=" $PWD "
8
+ export PATH=" $ruby_home /bin:$PATH "
9
+
10
+ # gem install "$(jt gem-test-pack)/gem-cache/bundler-1.16.5.gem" --local
11
+
12
+ cd " $( jt gem-test-pack) /gem-testing/msgpack-ruby"
13
+
14
+ bundle install --local --no-cache
15
+ bundle exec rake compile
16
+ bundle exec rake spec
Original file line number Diff line number Diff line change 25
25
MRI_TEST_CEXT_LIB_DIR = "#{ TRUFFLERUBY_DIR } /.ext/c"
26
26
PROFILES_DIR = "#{ TRUFFLERUBY_DIR } /profiles"
27
27
28
- TRUFFLERUBY_GEM_TEST_PACK_VERSION = "f23314cbf560d8578b0c2cbd972b83575ba93cd5 "
28
+ TRUFFLERUBY_GEM_TEST_PACK_VERSION = "af03b9fbb684624095de928f2b6238db26544052 "
29
29
30
30
JDEBUG_PORT = 51819
31
31
JDEBUG = "-J-agentlib:jdwp=transport=dt_socket,server=y,address=#{ JDEBUG_PORT } ,suspend=y"
@@ -1205,14 +1205,16 @@ def test_cexts(*args)
1205
1205
end
1206
1206
1207
1207
# Tests using gem install to compile the cexts
1208
- sh "test/truffle/cexts/msgpack/msgpack.sh"
1209
1208
sh "test/truffle/cexts/puma/puma.sh"
1210
1209
sh "test/truffle/cexts/sqlite3/sqlite3.sh"
1211
1210
sh "test/truffle/cexts/unf_ext/unf_ext.sh"
1212
1211
sh "test/truffle/cexts/json/json.sh"
1213
1212
1214
1213
# Test a gem dynamically compiling a C extension
1215
1214
sh "test/truffle/cexts/RubyInline/RubyInline.sh"
1215
+
1216
+ # Test cexts used by many projects
1217
+ sh "test/truffle/cexts/msgpack/msgpack.sh"
1216
1218
else
1217
1219
raise "unknown test: #{ test_name } "
1218
1220
end
You can’t perform that action at this time.
0 commit comments