Fix typo in gcov compilation code
This commit is contained in:
@@ -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"), ""},
|
||||
|
||||
Reference in New Issue
Block a user