From d3bcf28b064284fcdabd13f0939490b439ecfef6 Mon Sep 17 00:00:00 2001 From: Jan Cybulski Date: Thu, 7 Aug 2014 08:31:48 +0200 Subject: [PATCH] Allow to run tests without arguments 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 --- tests/framework/src/test_runner.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/framework/src/test_runner.cpp b/tests/framework/src/test_runner.cpp index ee316e2..ff38f90 100644 --- a/tests/framework/src/test_runner.cpp +++ b/tests/framework/src/test_runner.cpp @@ -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()); -- 2.7.4