Add support for simpler test case list syntax
authorPyry Haulos <phaulos@google.com>
Fri, 31 Oct 2014 00:45:41 +0000 (17:45 -0700)
committerPyry Haulos <phaulos@google.com>
Fri, 31 Oct 2014 16:57:08 +0000 (09:57 -0700)
commitee2e173d445e87e1f98245f4377f66b081cc320d
tree9ccb44ed2dccd06e85640a61dcf9b1c5c19ffc59
parent8923f3172198436e707823830836a5833935e417
Add support for simpler test case list syntax

This change adds support for mustpass-style (full test case path per
line) test case format. All existing test case list command line options
(--deqp-caselist, --deqp-stdin-caselist, --deqp-caselist-file) now
accept both trie- and list-style inputs.

Format is detected by looking at the first character; trie always starts
with '{', list-style format is assumed otherwise.

de::CommandLine default value behavior has been changed. Options that
take values (i.e. not --flags) don't have value set, unless default
value is provided when registering options. Calling getOption() on
command line option whose value is not provided is now an error.
hasOption() should be used first to check if a value was provided at
all.

Test case list parsing is now covered by tests in the internal module.

Bug: 17958588
Change-Id: If6063165ff59cbd8e538d6f829c583541e104fd1
executor/tools/xeCommandLineExecutor.cpp
framework/common/tcuCommandLine.cpp
framework/common/tcuTestCase.cpp
framework/common/tcuTestCase.hpp
framework/delibs/decpp/deCommandLine.cpp
framework/delibs/decpp/deCommandLine.hpp
framework/egl/egluGLContextFactory.cpp
modules/egl/teglTestPackage.cpp
modules/internal/ditFrameworkTests.cpp