mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
test: Change default test logging directory
This commit is contained in:
parent
f32f7e907a
commit
f8cba0d911
1 changed files with 13 additions and 2 deletions
|
@ -1168,8 +1168,19 @@ if EMBEDDED_UNIVALUE
|
|||
endif
|
||||
|
||||
%.cpp.test: %.cpp
|
||||
@echo Running tests: `cat $< | grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1` from $<
|
||||
$(AM_V_at)$(TEST_BINARY) --catch_system_errors=no -l test_suite -t "`cat $< | grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1`" -- DEBUG_LOG_OUT > $<.log 2>&1 || (cat $<.log && false)
|
||||
@echo Running tests: $$(\
|
||||
cat $< | \
|
||||
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
|
||||
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1) \
|
||||
from $<
|
||||
$(AM_V_at)$(TEST_BINARY) \
|
||||
--catch_system_errors=no -l test_suite -t "$$(\
|
||||
cat $< | \
|
||||
grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
|
||||
cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1\
|
||||
)" -- DEBUG_LOG_OUT > $(abs_builddir)/$$(\
|
||||
echo $< | grep -E -o "(wallet/test/.*\.cpp|test/.*\.cpp)" | $(SED) -e s/\.cpp/.log/\
|
||||
) 2>&1 || (cat $<.log && false)
|
||||
|
||||
%.json.h: %.json
|
||||
@$(MKDIR_P) $(@D)
|
||||
|
|
Loading…
Reference in a new issue