Allow to run tests without arguments 84/25584/4
authorJan Cybulski <j.cybulski@samsung.com>
Thu, 7 Aug 2014 06:31:48 +0000 (08:31 +0200)
committerJan Cybulski <j.cybulski@samsung.com>
Tue, 12 Aug 2014 11:44:30 +0000 (13:44 +0200)
If no arguments are given, then tests will be run
as if argument was '--output=text', which already
implemented. The only obstracle is check for number
of arguments that is removed in this commit.
To verify this just run any tests without arguments.

Change-Id: I17f60518d6d137c12a5a53f7852653e5f07d7599
Signed-off-by: Jan Cybulski <j.cybulski@samsung.com>
tests/framework/src/test_runner.cpp

index ee316e2..ff38f90 100644 (file)
@@ -542,11 +542,6 @@ int TestRunner::ExecTestRunner(ArgsList args)
 {
     m_runIgnored = false;
     // Parse command line
-    if (args.size() == 1) {
-        InvalidArgs();
-        Usage();
-        return -1;
-    }
 
     args.erase(args.begin());