ICU-2966 pass optional command line @parameter down to tests
X-SVN-Rev: 12812
This commit is contained in:
parent
c2f3b8d640
commit
74c4e638d7
@ -625,7 +625,7 @@ UBool IntlTest::runTest( char* name, char* par )
|
||||
}
|
||||
|
||||
if (!name || (name[0] == 0) || (strcmp(name, "*") == 0)) {
|
||||
rval = runTestLoop( NULL, NULL );
|
||||
rval = runTestLoop( NULL, par );
|
||||
|
||||
}else if (strcmp( name, "LIST" ) == 0) {
|
||||
this->usage();
|
||||
@ -668,7 +668,7 @@ UBool IntlTest::runTestLoop( char* testname, char* par )
|
||||
IntlTest* saveTest = gTest;
|
||||
gTest = this;
|
||||
do {
|
||||
this->runIndexedTest( index, FALSE, name );
|
||||
this->runIndexedTest( index, FALSE, name, par );
|
||||
if (!name || (name[0] == 0))
|
||||
break;
|
||||
if (!testname) {
|
||||
|
Loading…
Reference in New Issue
Block a user