File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -390,14 +390,14 @@ endif
390
390
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
391
391
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1) \
392
392
from $<
393
- $(AM_V_at)$(TEST_BINARY) \
394
- --catch_system_errors=no -l test_suite -t "$$(\
393
+ $(AM_V_at)export TEST_LOGFILE=$(abs_builddir)/$$(\
394
+ echo $< | grep -E -o "(wallet/test/.*\.cpp|test/.*\.cpp)" | $(SED) -e s/\.cpp/.log/ \
395
+ ) && \
396
+ $(TEST_BINARY) --catch_system_errors=no -l test_suite -t "$$(\
395
397
cat $< | \
396
398
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
397
399
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1\
398
- )" -- DEBUG_LOG_OUT > $(abs_builddir)/$$(\
399
- echo $< | grep -E -o "(wallet/test/.*\.cpp|test/.*\.cpp)" | $(SED) -e s/\.cpp/.log/\
400
- ) 2>&1 || (cat $<.log && false)
400
+ )" -- DEBUG_LOG_OUT > "$$TEST_LOGFILE" 2>&1 || (cat "$$TEST_LOGFILE" && false)
401
401
402
402
%.json.h: %.json
403
403
@$(MKDIR_P) $(@D)
You can’t perform that action at this time.
0 commit comments