[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[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 load(features)
11
12 WEBKIT_TESTS_DIR = $$PWD/WebKit/qt/tests
13
14 SUBDIRS += \
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 contains(DEFINES, HAVE_QQUICK1=1): SUBDIRS += $$WEBKIT_TESTS_DIR/qdeclarativewebview
32
33 # Benchmarks
34 SUBDIRS += \
35     $$WEBKIT_TESTS_DIR/benchmarks/painting \
36     $$WEBKIT_TESTS_DIR/benchmarks/loading
37
38 # WebGL performance tests are disabled temporarily.
39 # https://bugs.webkit.org/show_bug.cgi?id=80503
40 #
41 #contains(DEFINES, ENABLE_WEBGL=1) {
42 #    SUBDIRS += $$WEBKIT_TESTS_DIR/benchmarks/webgl
43 #}
44
45 !no_webkit2 {
46     WEBKIT2_TESTS_DIR = $$PWD/WebKit2/UIProcess/API/qt/tests
47
48     SUBDIRS += \
49         $$WEBKIT2_TESTS_DIR/inspectorserver \
50         $$WEBKIT2_TESTS_DIR/publicapi \
51         $$WEBKIT2_TESTS_DIR/qquickwebview \
52         $$WEBKIT2_TESTS_DIR/qmltests
53 }