File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -271,12 +271,12 @@ def verified_install(backend, path)
271
271
end
272
272
273
273
test_files = Pathname . glob ( Pathname . new ( cpp_lib_path ) + "test" + "*.cpp" )
274
- config . compilers_to_use . each do |compiler |
275
- exe = @cpp_library . build_shared_library ( [ ] , compiler , config . gcc_config ( "uno" ) )
276
- expect ( exe ) . not_to be nil
277
- test_files . each do |path |
278
- expected = path . basename . to_s . include? ( "good" )
274
+ test_files . each do |path |
275
+ expected = path . basename . to_s . include? ( "good" )
276
+ config . compilers_to_use . each do |compiler |
279
277
it "tests #{ File . basename ( path ) } with #{ compiler } expecting #{ expected } " do
278
+ exe = @cpp_library . build_shared_library ( [ ] , compiler , config . gcc_config ( "uno" ) )
279
+ expect ( exe ) . not_to be nil
280
280
exe = @cpp_library . build_for_test ( path , compiler )
281
281
expect ( exe ) . not_to be nil
282
282
expect ( @cpp_library . run_test_file ( exe ) ) . to eq ( expected )
You can’t perform that action at this time.
0 commit comments