summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommandOneConfig')
-rw-r--r--Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
index 460ee4b..4bcaa33 100644
--- a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
+++ b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
@@ -6,6 +6,8 @@
typedef struct
{
char *LibraryName;
+ int Argc;
+ char** Argv;
} cmVTKWrapTclData;
@@ -22,6 +24,8 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[])
cmVTKWrapTclData *cdata =
(cmVTKWrapTclData *)malloc(sizeof(cmVTKWrapTclData));
cdata->LibraryName = "BOO";
+ cdata->Argc = argc;
+ cdata->Argv = argv;
info->CAPI->SetClientData(info,cdata);
/* Now check and see if the value has been stored in the cache */