summaryrefslogtreecommitdiff
path: root/tool/test_for_warn_bundled_gems/test.sh
blob: a14d5bcedc615e9f9957cb79ecba81791a3ca88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash

echo "* Show warning require and LoadError"
ruby test_warn_bundled_gems.rb
echo

echo "* Show warning when bundled gems called as dependency"
ruby test_warn_dependency.rb
echo

echo "* Show warning sub-feature like bigdecimal/util"
ruby test_warn_sub_feature.rb
echo

echo "* Show warning dash gem like net/smtp"
ruby test_warn_dash_gem.rb
echo

echo "* Show warning when bundle exec with ruby and script"
bundle exec ruby test_warn_bundle_exec.rb
echo

echo "* Show warning when bundle exec with shebang's script"
bundle exec ./test_warn_bundle_exec_shebang.rb
echo

echo "* Show warning when bundle exec with -r option"
bundle exec ruby -rostruct -e ''
echo

echo "* Show warning with bootsnap"
ruby test_warn_bootsnap.rb
echo

echo "* Show warning with bootsnap for gem with native extension"
ruby test_warn_bootsnap_rubyarchdir_gem.rb
echo

echo "* Show warning with zeitwerk"
ruby test_warn_zeitwerk.rb
echo

echo "* Don't show warning bundled gems on Gemfile"
ruby test_no_warn_dependency.rb
echo

echo "* Don't show warning with net/smtp when net-smtp on Gemfile"
ruby test_no_warn_dash_gem.rb
echo

echo "* Don't show warning bigdecimal/util when bigdecimal on Gemfile"
ruby test_no_warn_sub_feature.rb
echo