Fix typo in gcov compilation code

This commit is contained in:
Badlop
2021-06-30 11:09:58 +02:00
parent f59df9c663
commit 9ff21ebdb9

View File

@@ -128,10 +128,10 @@ Rules = [
{[port_env, "LDFLAGS"], true,
AppendStr(CfgLDFlags), "$LDFLAGS"},
{[post_hooks], (not IsRebar3) and (CfgWithGCov == "true"),
AppendList([{eunit, "gcov -o c_src mqtree"},
AppendList([{eunit, "gcov -o c_src sqlite3_drv"},
{eunit, "mv *.gcov .eunit/"}]), []},
{[post_hooks], IsRebar3 and (CfgWithGCov == "true"),
AppendList([{eunit, "gcov -o c_src mqtree"},
AppendList([{eunit, "gcov -o c_src sqlite3_drv"},
{eunit, "mv *.gcov _build/test/cover/"}]), []},
{[port_env, "LDFLAGS"], CfgWithGCov == "true",
AppendStr("--coverage"), ""},