diff options
author | Yancy Ribbens <yancy.ribbens@gmail.com> | 2020-06-26 08:20:50 -0500 |
---|---|---|
committer | Yancy Ribbens <yancy.ribbens@gmail.com> | 2020-07-13 06:29:53 -0500 |
commit | f8cba0d9117fe9b9ac51d7044372b28270c7838b (patch) | |
tree | fac502799b7148326a3224907b87c42d5500201f /src | |
parent | f32f7e907a5eb73e880c567c699569081608ed7a (diff) | |
download | bitcoin-f8cba0d9117fe9b9ac51d7044372b28270c7838b.tar.xz |
test: Change default test logging directory
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.test.include | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 472382c7d2..0b14782f8f 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -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) |