File: ruby-tests.rake

package info (click to toggle)
ruby-net-ssh 1%3A7.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,804 kB
  • sloc: ruby: 16,999; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'gem2deb/rake/testtask'
# Disable tests that require 'x25519'.
# Unfortunately this also disables 'ed25519' tests.
ENV['NET_SSH_NO_ED25519'] = '1'
ENV.delete("CI")

# Some tests rely no ciphers which are considered legacy in OpenSSL 3. For now,
# let's use the custom config file to enable them and make the tests pass.
require 'openssl'
if OpenSSL::OPENSSL_LIBRARY_VERSION.start_with? "OpenSSL 3"
  ENV['OPENSSL_CONF'] = Dir.pwd + '/test/openssl3.conf'
end

Gem2Deb::Rake::TestTask.new do |t|
end