Skip to content

Commit 5a6b8c4

Browse files
committed
Rakefile: Manage test files by excluding test files in the test_fips task.
Manage test files by excluding test files rather than adding the target test files in the test_fips task. My motivations for this change are 1. We can test FIPS cases for the test files to be added in the future. 2. We can clarify the remaining failing test files that we need to fix.
1 parent d5218a3 commit 5a6b8c4

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

Rakefile

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,24 @@ end
2626

2727
Rake::TestTask.new(:test_fips_internal) do |t|
2828
t.libs << 'test/openssl'
29-
t.test_files = FileList[
30-
'test/openssl/test_bn.rb',
31-
'test/openssl/test_buffering.rb',
32-
'test/openssl/test_config.rb',
33-
'test/openssl/test_engine.rb',
34-
'test/openssl/test_fips.rb',
35-
'test/openssl/test_ossl.rb',
36-
'test/openssl/test_pair.rb',
37-
'test/openssl/test_pkey.rb',
38-
'test/openssl/test_pkey_dh.rb',
39-
'test/openssl/test_pkey_dsa.rb',
40-
'test/openssl/test_pkey_ec.rb',
41-
'test/openssl/test_pkey_rsa.rb',
42-
'test/openssl/test_provider.rb',
43-
'test/openssl/test_random.rb',
44-
'test/openssl/test_ssl_session.rb',
45-
'test/openssl/test_x509attr.rb',
46-
'test/openssl/test_x509ext.rb',
47-
'test/openssl/test_x509store.rb',
29+
# Exclude failing test files in FIPS for this task to pass.
30+
# TODO: Fix failing test files.
31+
t.test_files = FileList['test/**/test_*.rb'] - FileList[
32+
'test/openssl/test_asn1.rb',
33+
'test/openssl/test_cipher.rb',
34+
'test/openssl/test_digest.rb',
35+
'test/openssl/test_hmac.rb',
36+
'test/openssl/test_kdf.rb',
37+
'test/openssl/test_ns_spki.rb',
38+
'test/openssl/test_ocsp.rb',
39+
'test/openssl/test_pkcs12.rb',
40+
'test/openssl/test_pkcs7.rb',
41+
'test/openssl/test_ssl.rb',
42+
'test/openssl/test_ts.rb',
43+
'test/openssl/test_x509cert.rb',
44+
'test/openssl/test_x509crl.rb',
45+
'test/openssl/test_x509name.rb',
46+
'test/openssl/test_x509req.rb',
4847
]
4948
t.warning = true
5049
end

0 commit comments

Comments
 (0)