Initialize Tizen 2.3
[framework/web/webkit-efl.git] / Source / tests.pri
1 # -------------------------------------------------------------------
2 # Project file for QtWebKit API unit-tests
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = subdirs
8 CONFIG += ordered
9
10 WEBKIT_TESTS_DIR = $$PWD/WebKit/qt/tests
11
12 SUBDIRS += \
13     $$WEBKIT_TESTS_DIR/cmake \
14     $$WEBKIT_TESTS_DIR/qobjectbridge \
15     $$WEBKIT_TESTS_DIR/qwebframe \
16     $$WEBKIT_TESTS_DIR/qwebpage \
17     $$WEBKIT_TESTS_DIR/qwebelement \
18     $$WEBKIT_TESTS_DIR/qgraphicswebview \
19     $$WEBKIT_TESTS_DIR/qwebhistoryinterface \
20     $$WEBKIT_TESTS_DIR/qwebview \
21     $$WEBKIT_TESTS_DIR/qwebhistory \
22     $$WEBKIT_TESTS_DIR/qwebinspector \
23     $$WEBKIT_TESTS_DIR/hybridPixmap
24
25 linux-* {
26     # This test bypasses the library and links the tested code's object itself.
27     # This stresses the build system in some corners so we only run it on linux.
28     SUBDIRS += $$WEBKIT_TESTS_DIR/MIMESniffing
29 }
30
31 # Benchmarks
32 SUBDIRS += \
33     $$WEBKIT_TESTS_DIR/benchmarks/painting \
34     $$WEBKIT_TESTS_DIR/benchmarks/loading
35
36 # WebGL performance tests are disabled temporarily.
37 # https://bugs.webkit.org/show_bug.cgi?id=80503
38 #
39 #enable?(WEBGL) {
40 #    SUBDIRS += $$WEBKIT_TESTS_DIR/benchmarks/webgl
41 #}
42
43 build?(webkit2): {
44     WEBKIT2_TESTS_DIR = $$PWD/WebKit2/UIProcess/API/qt/tests
45
46     have?(QTQUICK):SUBDIRS += \
47         $$WEBKIT2_TESTS_DIR/inspectorserver \
48         $$WEBKIT2_TESTS_DIR/publicapi \
49         $$WEBKIT2_TESTS_DIR/qquickwebview \
50         $$WEBKIT2_TESTS_DIR/qmltests
51
52     SUBDIRS += \
53         $$WEBKIT2_TESTS_DIR/qrawwebview
54 }