File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -164,10 +164,10 @@ pushd program_with_module
164
164
" $fpm " run --target Program_with_module
165
165
popd
166
166
167
- pushd program_with_cpp_guarded_module
168
- " $fpm " build
169
- " $fpm " run
170
- popd
167
+ # pushd program_with_cpp_guarded_module
168
+ # "$fpm" build
169
+ # "$fpm" run
170
+ # popd
171
171
172
172
pushd link_executable
173
173
" $fpm " build
@@ -231,7 +231,18 @@ pushd fpm_test_exe_issues
231
231
popd
232
232
233
233
pushd cpp_files
234
- " $fpm " test
234
+
235
+ # Build with debug & no inlining so the backtrace is readable
236
+ # Build with symbols
237
+ export FPM_FFLAGS=" -g -O0 -fbacktrace -fno-omit-frame-pointer"
238
+ export FPM_CXXFLAGS=" -g -O0 -fno-omit-frame-pointer"
239
+ export FPM_CFLAGS=" -g -O0 -fno-omit-frame-pointer"
240
+ export FPM_LDFLAGS=" -g"
241
+
242
+ # Now run tests under LLDB
243
+ fpm test \
244
+ --runner " lldb -o 'run' -o 'bt all' -o 'thread list' -o 'image list' -o 'quit' --"
245
+
235
246
popd
236
247
237
248
# Test Fortran features
You can’t perform that action at this time.
0 commit comments