[test] Use command line in proparser

The test reads the command line, but skipped the commit.

Change-Id: If38a5fdd1ec129d77065bfd90403e21fea4eda6d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Brett Stottlemyer
2016-07-09 09:48:27 -04:00
parent 69c8b9271c
commit 7f07ec41ab

View File

@@ -189,6 +189,8 @@ int main(int argc, char **argv)
qCritical("usage: testreader [-v] [-d [-d]] [-c] <filenme> [<out_pwd>] [<variable assignments>]");
return 3;
}
option.commitCommandLineArguments(state);
option.useEnvironment();
if (out_pwd.isEmpty())
out_pwd = in_pwd;
option.setDirectories(in_pwd, out_pwd);