tests.pri 1.6 KB

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