Fix typo in gcov compilation code
This commit is contained in:
@@ -128,10 +128,10 @@ Rules = [
|
|||||||
{[port_env, "LDFLAGS"], true,
|
{[port_env, "LDFLAGS"], true,
|
||||||
AppendStr(CfgLDFlags), "$LDFLAGS"},
|
AppendStr(CfgLDFlags), "$LDFLAGS"},
|
||||||
{[post_hooks], (not IsRebar3) and (CfgWithGCov == "true"),
|
{[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/"}]), []},
|
{eunit, "mv *.gcov .eunit/"}]), []},
|
||||||
{[post_hooks], IsRebar3 and (CfgWithGCov == "true"),
|
{[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/"}]), []},
|
{eunit, "mv *.gcov _build/test/cover/"}]), []},
|
||||||
{[port_env, "LDFLAGS"], CfgWithGCov == "true",
|
{[port_env, "LDFLAGS"], CfgWithGCov == "true",
|
||||||
AppendStr("--coverage"), ""},
|
AppendStr("--coverage"), ""},
|
||||||
|
|||||||
Reference in New Issue
Block a user