Details
-
Type:
Task
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 5.1.0 RC1
-
Component/s: QML: Declarative and Javascript Engine, Testing: QtQuickTest
-
Labels:None
-
Technical Risk:Low
-
Commits:5e6b2bf68b2338ad9424b48193b860a70addd022
Description
At present, qml-only tests cannot see which platform they are running on (i.e. no equivalent of the Q_OS_FOO defines). This makes it impossible for a test to do anything conditionally depending on the platform, such as calling expectFail for a test that only fails on some platforms and passes on others (see QTBUG-25306 for an example).
Attachments
Issue Links
- is related to
-
QTBUG-22356 Investigate support for 3rd party JS libraries
-
- Open
-