@@ -81,7 +81,7 @@ subroutine test_library_module_use(error)
81
81
provides= [string_t(' my_mod_2' )], &
82
82
uses= [string_t(' my_mod_1' )])
83
83
84
- call targets_from_sources(targets,model,error)
84
+ call targets_from_sources(targets,model,.false. , error)
85
85
if (allocated (error)) return
86
86
87
87
if (allocated (error)) then
@@ -151,7 +151,7 @@ subroutine test_scope(exe_scope,error)
151
151
scope= exe_scope, &
152
152
uses= [string_t(' my_mod_1' )])
153
153
154
- call targets_from_sources(targets,model,error)
154
+ call targets_from_sources(targets,model,.false. , error)
155
155
if (allocated (error)) return
156
156
157
157
if (size (targets) /= 4 ) then
@@ -204,7 +204,7 @@ subroutine test_program_with_module(error)
204
204
provides= [string_t(' app_mod' )], &
205
205
uses= [string_t(' app_mod' )])
206
206
207
- call targets_from_sources(targets,model,error)
207
+ call targets_from_sources(targets,model,.false. , error)
208
208
if (allocated (error)) return
209
209
210
210
if (size (targets) /= 2 ) then
@@ -266,7 +266,7 @@ subroutine test_scope(exe_scope,error)
266
266
scope= exe_scope, &
267
267
uses= [string_t(' app_mod2' )])
268
268
269
- call targets_from_sources(targets,model,error)
269
+ call targets_from_sources(targets,model,.false. , error)
270
270
if (allocated (error)) return
271
271
272
272
if (size (targets) /= 4 ) then
@@ -320,7 +320,7 @@ subroutine test_missing_library_use(error)
320
320
provides= [string_t(' my_mod_2' )], &
321
321
uses= [string_t(' my_mod_3' )])
322
322
323
- call targets_from_sources(targets,model,error)
323
+ call targets_from_sources(targets,model,.false. , error)
324
324
325
325
end subroutine test_missing_library_use
326
326
@@ -346,7 +346,7 @@ subroutine test_missing_program_use(error)
346
346
scope= FPM_SCOPE_APP, &
347
347
uses= [string_t(' my_mod_2' )])
348
348
349
- call targets_from_sources(targets,model,error)
349
+ call targets_from_sources(targets,model,.false. , error)
350
350
351
351
end subroutine test_missing_program_use
352
352
@@ -373,7 +373,7 @@ subroutine test_invalid_library_use(error)
373
373
provides= [string_t(' my_mod' )], &
374
374
uses= [string_t(' app_mod' )])
375
375
376
- call targets_from_sources(targets,model,error)
376
+ call targets_from_sources(targets,model,.false. , error)
377
377
378
378
end subroutine test_invalid_library_use
379
379
@@ -399,7 +399,7 @@ subroutine test_subdirectory_module_use(error)
399
399
scope= FPM_SCOPE_APP, &
400
400
uses= [string_t(' app_mod' )])
401
401
402
- call targets_from_sources(targets,model,error)
402
+ call targets_from_sources(targets,model,.false. , error)
403
403
404
404
end subroutine test_subdirectory_module_use
405
405
@@ -530,7 +530,7 @@ subroutine test_tree_shake_module(error)
530
530
scope= FPM_SCOPE_APP, &
531
531
uses= [string_t(' my_mod_2' )])
532
532
533
- call targets_from_sources(targets,model,error)
533
+ call targets_from_sources(targets,model,prune = .true. ,error = error)
534
534
if (allocated (error)) return
535
535
536
536
if (size (targets) /= 5 ) then
@@ -589,7 +589,7 @@ subroutine test_invalid_subdirectory_module_use(error)
589
589
scope= FPM_SCOPE_APP, &
590
590
uses= [string_t(' app_mod' )])
591
591
592
- call targets_from_sources(targets,model,error)
592
+ call targets_from_sources(targets,model,.false. , error)
593
593
594
594
end subroutine test_invalid_subdirectory_module_use
595
595
0 commit comments