File: ruby-tests.rb

package info (click to toggle)
ruby-binding-of-caller 0.7.2%2Bdebian1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 176 kB
  • ctags: 65
  • sloc: ruby: 308; ansic: 173; makefile: 9
file content (7 lines) | stat: -rw-r--r-- 150 bytes parent folder | download
1
2
3
4
5
6
7
def run(cmdline)
  puts cmdline
  system(cmdline) || exit(1)
end

ruby = RbConfig::CONFIG['ruby_install_name']
run("#{ruby} -S bacon test/test_*.rb")