Skip to content

Commit d8ef22d

Browse files
committed
ensure the binaries for linux are actually stripped
1 parent 53eacfb commit d8ef22d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

bintest/mruby-cli.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
assert_true status.success?, "Process did not exit cleanly"
3636
assert_include output, "Hello World"
3737

38+
%w(x86_64-pc-linux-gnu i686-pc-linux-gnu).each do |host|
39+
output, status = Open3.capture2("file mruby/build/x86_64-pc-linux-gnu/bin/#{app_name}")
40+
assert_include output, ", stripped"
41+
end
42+
3843
output, status = Open3.capture2("rake test:bintest")
3944
assert_true status.success?, "Process did not exit cleanly"
4045

0 commit comments

Comments
 (0)