File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,5 @@ jobs:
180180 # TODO Fix other tests, and run all the tests on FIPS module.
181181 - name : test on fips module
182182 run : |
183- bundle exec rake debug &&
184- ruby -I./lib -ropenssl \
185- -e 'Dir.glob "./test/openssl/{test_fips.rb,test_pkey.rb}", &method(:require)'
183+ rake test_fips TESTOPTS="-v --no-show-detail-immediately"
186184 if : matrix.fips-enabled
Original file line number Diff line number Diff line change @@ -18,12 +18,22 @@ Rake::TestTask.new do |t|
1818 t . warning = true
1919end
2020
21+ Rake ::TestTask . new ( :test_fips ) do |t |
22+ t . libs << 'test/openssl'
23+ t . test_files = FileList [
24+ 'test/openssl/test_fips.rb' ,
25+ 'test/openssl/test_pkey.rb' ,
26+ ]
27+ t . warning = true
28+ end
29+
2130RDoc ::Task . new do |rdoc |
2231 rdoc . main = "README.md"
2332 rdoc . rdoc_files . include ( "*.md" , "lib/**/*.rb" , "ext/**/*.c" )
2433end
2534
2635task :test => [ :compile , :debug ]
36+ task :test_fips => [ :compile , :debug ]
2737
2838# Print Ruby and compiler info for debugging purpose.
2939task :debug_compiler do
You can’t perform that action at this time.
0 commit comments