File: ruby-tests.rb

package info (click to toggle)
ruby-termios 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 200 kB
  • sloc: ansic: 1,163; ruby: 377; makefile: 4; sh: 4
file content (7 lines) | stat: -rw-r--r-- 153 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
$: << 'lib' << '.'

if not STDOUT.isatty or not STDIN.isatty
  puts "STDIN or STDOUT not a tty, cannot run tests."
  exit(0)
end
require 'test/test0.rb'