mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
build, test: Fix test logfile name
Co-authored-by: Luke Dashjr <luke-jr+git@utopios.org>
This commit is contained in:
parent
f9aedbc300
commit
dc0774cbdf
1 changed files with 5 additions and 5 deletions
|
@ -390,14 +390,14 @@ endif
|
||||||
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
|
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
|
||||||
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1) \
|
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1) \
|
||||||
from $<
|
from $<
|
||||||
$(AM_V_at)$(TEST_BINARY) \
|
$(AM_V_at)export TEST_LOGFILE=$(abs_builddir)/$$(\
|
||||||
--catch_system_errors=no -l test_suite -t "$$(\
|
echo $< | grep -E -o "(wallet/test/.*\.cpp|test/.*\.cpp)" | $(SED) -e s/\.cpp/.log/ \
|
||||||
|
) && \
|
||||||
|
$(TEST_BINARY) --catch_system_errors=no -l test_suite -t "$$(\
|
||||||
cat $< | \
|
cat $< | \
|
||||||
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
|
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
|
||||||
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1\
|
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1\
|
||||||
)" -- DEBUG_LOG_OUT > $(abs_builddir)/$$(\
|
)" -- DEBUG_LOG_OUT > "$$TEST_LOGFILE" 2>&1 || (cat "$$TEST_LOGFILE" && false)
|
||||||
echo $< | grep -E -o "(wallet/test/.*\.cpp|test/.*\.cpp)" | $(SED) -e s/\.cpp/.log/\
|
|
||||||
) 2>&1 || (cat $<.log && false)
|
|
||||||
|
|
||||||
%.json.h: %.json
|
%.json.h: %.json
|
||||||
@$(MKDIR_P) $(@D)
|
@$(MKDIR_P) $(@D)
|
||||||
|
|
Loading…
Add table
Reference in a new issue