From 677da44f807ee6e9a15a649860a15fe96920ed2a Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Sun, 18 Apr 2010 16:27:27 +0000 Subject: [PATCH] Add stub -t and -d options to the test program on the stable branch for forward compatibilty with the trunk. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/test.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test.cpp b/tests/test.cpp index b26e73317f..63a8b83cec 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -86,6 +86,12 @@ void TestApp::OnInitCmdLine(wxCmdLineParser& parser) { wxCMD_LINE_SWITCH, _T("L"), _T("longlist"), _T("list the test cases, do not run them"), wxCMD_LINE_VAL_NONE, 0 }, + { wxCMD_LINE_SWITCH, "d", "detail", + "print the test case names, run them (not implemented)", + wxCMD_LINE_VAL_NONE, 0 }, + { wxCMD_LINE_SWITCH, "t", "timing", + "print names and mesure running time of individual test, run them (not implemented)", + wxCMD_LINE_VAL_NONE, 0 }, { wxCMD_LINE_PARAM, 0, 0, _T("REGISTRY"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL | wxCMD_LINE_PARAM_MULTIPLE }, { wxCMD_LINE_NONE , 0, 0, 0, wxCMD_LINE_VAL_NONE, 0 }