#endif
void ctor();
+#if !defined(Q_OS_WINCE) && !defined(QT_NO_PROCESS)
void emptyCtor();
+#endif
void unixLocaleName();
void double_conversion_data();
void double_conversion();
#undef TEST_CTOR
}
+#if !defined(Q_OS_WINCE) && !defined(QT_NO_PROCESS)
+// Not when Q_OS_WINCE is defined because the test uses unsupported
+// Windows CE QProcess functionality (std streams, env)
+// Also Qt needs to be compiled without QT_NO_PROCESS
static inline bool runSysApp(const QString &binary,
const QStringList &env,
QString *output,
void tst_QLocale::emptyCtor()
{
-#if defined(Q_OS_WINCE)
- QSKIP("Uses unsupported Windows CE QProcess functionality (std streams, env)");
-#endif
-#if defined(QT_NO_PROCESS)
- QSKIP("Qt was compiled with QT_NO_PROCESS");
-#else
#define TEST_CTOR(req_lc, exp_str) \
{ \
/* Test constructor without arguments. Needs separate process */ \
TEST_CTOR("123456", defaultLoc.toLatin1());
#undef TEST_CTOR
-#endif
}
+#endif
void tst_QLocale::unixLocaleName()
{