Subversion Repositories tpanel

Rev

Rev 327 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 327 Rev 328
Line 346... Line 346...
346
        cerr << "ERROR: Unknown command line parameter found!" << endl;
346
        cerr << "ERROR: Unknown command line parameter found!" << endl;
347
#endif
347
#endif
348
        usage();
348
        usage();
349
        return 1;
349
        return 1;
350
    }
350
    }
-
 
351
#if TESTMODE == 1
351
    else if (_testmode)
352
    else if (_testmode)
352
    {
353
    {
353
        configFile = testPath + "/testconfig.cfg";
354
        configFile = testPath + "/testconfig.cfg";
354
        _gTestMode = new _TestMode(testPath);
355
        _gTestMode = new _TestMode(testPath);
355
    }
356
    }
356
 
357
#endif
357
    TError::clear();                    // Clear all errors (initialize)
358
    TError::clear();                    // Clear all errors (initialize)
358
    TConfig config(configFile);         // Read the configuration file.
359
    TConfig config(configFile);         // Read the configuration file.
359
 
360
 
360
    if (TError::isError())              // Exit if the previous command failed.
361
    if (TError::isError())              // Exit if the previous command failed.
361
    {
362
    {