File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1168,8 +1168,19 @@ if EMBEDDED_UNIVALUE
1168
1168
endif
1169
1169
1170
1170
%.cpp.test: %.cpp
1171
- @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 $<
1172
- $(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)
1171
+ @echo Running tests: $$(\
1172
+ cat $< | \
1173
+ grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
1174
+ cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1) \
1175
+ from $<
1176
+ $(AM_V_at)$(TEST_BINARY) \
1177
+ --catch_system_errors=no -l test_suite -t "$$(\
1178
+ cat $< | \
1179
+ grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | \
1180
+ cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1\
1181
+ )" -- DEBUG_LOG_OUT > $(abs_builddir)/$$(\
1182
+ echo $< | grep -E -o "(wallet/test/.*\.cpp|test/.*\.cpp)" | $(SED) -e s/\.cpp/.log/\
1183
+ ) 2>&1 || (cat $<.log && false)
1173
1184
1174
1185
%.json.h: %.json
1175
1186
@$(MKDIR_P) $(@D)
You can’t perform that action at this time.
0 commit comments