Initialize Tizen 2.3
[framework/web/webkit-efl.git] / mobile / 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/qobjectbridge \
14     $$WEBKIT_TESTS_DIR/qwebframe \
15     $$WEBKIT_TESTS_DIR/qwebpage \
16     $$WEBKIT_TESTS_DIR/qwebelement \
17     $$WEBKIT_TESTS_DIR/qgraphicswebview \
18     $$WEBKIT_TESTS_DIR/qwebhistoryinterface \
19     $$WEBKIT_TESTS_DIR/qwebview \
20     $$WEBKIT_TESTS_DIR/qwebhistory \
21     $$WEBKIT_TESTS_DIR/qwebinspector \
22     $$WEBKIT_TESTS_DIR/hybridPixmap
23
24 linux-* {
25     # This test bypasses the library and links the tested code's object itself.
26     # This stresses the build system in some corners so we only run it on linux.
27     SUBDIRS += $$WEBKIT_TESTS_DIR/MIMESniffing
28 }
29
30 contains(DEFINES, HAVE_QQUICK1=1): SUBDIRS += $$WEBKIT_TESTS_DIR/qdeclarativewebview
31
32 # Benchmarks
33 SUBDIRS += \
34     $$WEBKIT_TESTS_DIR/benchmarks/painting \
35     $$WEBKIT_TESTS_DIR/benchmarks/loading
36
37 # WebGL performance tests are disabled temporarily.
38 # https://bugs.webkit.org/show_bug.cgi?id=80503
39 #
40 #contains(DEFINES, ENABLE_WEBGL=1) {
41 #    SUBDIRS += $$WEBKIT_TESTS_DIR/benchmarks/webgl
42 #}
43
44 !no_webkit2 {
45     WEBKIT2_TESTS_DIR = $$PWD/WebKit2/UIProcess/API/qt/tests
46
47     SUBDIRS += \
48         $$WEBKIT2_TESTS_DIR/inspectorserver \
49         $$WEBKIT2_TESTS_DIR/publicapi \
50         $$WEBKIT2_TESTS_DIR/qquickwebview \
51         $$WEBKIT2_TESTS_DIR/qmltests \
52         $$WEBKIT2_TESTS_DIR/qrawwebview
53 }