summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testCommandLineArguments.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-03 15:47:06 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-03 15:47:06 (GMT)
commit0edbb68352475ae48dd31dde7384dd0816a8fb39 (patch)
tree24c06cb86f783cee05bd43508ba2d86414cc30d4 /Source/kwsys/testCommandLineArguments.cxx
parent42e1ffb7f5ef5c8a570e08f4a587f34458172325 (diff)
downloadCMake-0edbb68352475ae48dd31dde7384dd0816a8fb39.zip
CMake-0edbb68352475ae48dd31dde7384dd0816a8fb39.tar.gz
CMake-0edbb68352475ae48dd31dde7384dd0816a8fb39.tar.bz2
ENH: Cleaned up KWSys tests to use test drivers.
Diffstat (limited to 'Source/kwsys/testCommandLineArguments.cxx')
-rw-r--r--Source/kwsys/testCommandLineArguments.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/testCommandLineArguments.cxx b/Source/kwsys/testCommandLineArguments.cxx
index 8a2a3ad..dba4eb0 100644
--- a/Source/kwsys/testCommandLineArguments.cxx
+++ b/Source/kwsys/testCommandLineArguments.cxx
@@ -58,7 +58,7 @@ bool CompareTwoItemsOnList(const char* i1,
bool CompareTwoItemsOnList(const kwsys_stl::string& i1,
const kwsys_stl::string& i2) { return i1 == i2; }
-int main(int argc, char* argv[])
+int testCommandLineArguments(int argc, char* argv[])
{
// Example run: ./testCommandLineArguments --some-int-variable 4
// --another-bool-variable --some-bool-variable=yes