File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -304,9 +304,13 @@ if HAVE_DWZ
304
304
rm -f $@ $@ _common.debug
305
305
cp $< $@ _1
306
306
cp $< $@ _2
307
- $(DWZ ) -m $@ _common.debug $@ _1 $@ _2
308
- rm -f $@ _2
309
- mv $@ _1 $@
307
+ if $( DWZ) -m $@ _common.debug $@ _1 $@ _2; then \
308
+ rm -f $@ _2; \
309
+ mv $@ _1 $@ ; \
310
+ else \
311
+ echo " Ignoring dwz errors, assuming that test passes" ; \
312
+ cp $< $@ ; \
313
+ fi
310
314
311
315
TESTS += btest_dwz
312
316
Original file line number Diff line number Diff line change 15
15
@SET_MAKE@
16
16
17
17
# Makefile.am -- Backtrace Makefile.
18
- # Copyright (C) 2012-2020 Free Software Foundation, Inc.
18
+ # Copyright (C) 2012-2021 Free Software Foundation, Inc.
19
19
20
20
# Redistribution and use in source and binary forms, with or without
21
21
# modification, are permitted provided that the following conditions are
@@ -2459,9 +2459,13 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
2459
2459
@HAVE_DWZ_TRUE@@NATIVE_TRUE@ rm -f $@ $@_common.debug
2460
2460
@HAVE_DWZ_TRUE@@NATIVE_TRUE@ cp $< $@_1
2461
2461
@HAVE_DWZ_TRUE@@NATIVE_TRUE@ cp $< $@_2
2462
- @HAVE_DWZ_TRUE@@NATIVE_TRUE@ $(DWZ) -m $@_common.debug $@_1 $@_2
2463
- @HAVE_DWZ_TRUE@@NATIVE_TRUE@ rm -f $@_2
2464
- @HAVE_DWZ_TRUE@@NATIVE_TRUE@ mv $@_1 $@
2462
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ if $(DWZ) -m $@_common.debug $@_1 $@_2; then \
2463
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ rm -f $@_2; \
2464
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ mv $@_1 $@; \
2465
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ else \
2466
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ echo "Ignoring dwz errors, assuming that test passes"; \
2467
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ cp $< $@; \
2468
+ @HAVE_DWZ_TRUE@@NATIVE_TRUE@ fi
2465
2469
2466
2470
@NATIVE_TRUE@edtest2_build.c : gen_edtest2_build; @true
2467
2471
@NATIVE_TRUE@gen_edtest2_build : $(srcdir ) /edtest2.c
You can’t perform that action at this time.
0 commit comments