Subversion Repositories tpanel

Rev

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

Rev 326 Rev 327
Line 39... Line 39...
39
using std::cout;
39
using std::cout;
40
using std::cerr;
40
using std::cerr;
41
using std::endl;
41
using std::endl;
42
 
42
 
43
bool _restart_ = false;
43
bool _restart_ = false;
44
_TestMode *gTestMode{nullptr}
-
 
45
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
44
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
46
extern std::atomic<bool> killed;
45
extern std::atomic<bool> killed;
47
extern std::atomic<bool> _netRunning;
46
extern std::atomic<bool> _netRunning;
48
#endif
47
#endif
49
 
48
 
Line 349... Line 348...
349
        usage();
348
        usage();
350
        return 1;
349
        return 1;
351
    }
350
    }
352
    else if (_testmode)
351
    else if (_testmode)
353
    {
352
    {
354
        configFile = testPath + "testconfig.cfg";
353
        configFile = testPath + "/testconfig.cfg";
355
        gTestMode = new _TestMode(testPath);
354
        _gTestMode = new _TestMode(testPath);
356
    }
355
    }
357
 
356
 
358
    TError::clear();                    // Clear all errors (initialize)
357
    TError::clear();                    // Clear all errors (initialize)
359
    TConfig config(configFile);         // Read the configuration file.
358
    TConfig config(configFile);         // Read the configuration file.
360
 
359