qt5base-lts/tests/auto/v8
Kent Hansen b8d656d878 Fix autotest gui/widgets dependencies
This is in preparation of removing testlib's
dependency on QtGui and QtWidgets.

Autotests that need QtWidgets api must
explicitly include it (since the types are no
longer provided by the QtGui master header).

Autotests that don't need QtGui or QtWidgets
api shouldn't link against those libraries.

Change-Id: I2808289068514fcac582808828ad4634e2631733
Reviewed-on: http://codereview.qt-project.org/5093
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2011-09-19 10:24:25 +02:00
..
Makefile.nonqt Add QtV8 library to QtBase 2011-08-29 10:16:01 +02:00
README.txt Add QtV8 library to QtBase 2011-08-29 10:16:01 +02:00
tst_v8.cpp Update V8 2011-09-07 04:50:45 +02:00
v8.pro Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
v8main.cpp Add missing license header. 2011-09-08 02:54:22 +02:00
v8test.cpp Update V8 2011-09-07 04:50:45 +02:00
v8test.h Update V8 2011-09-07 04:50:45 +02:00

The v8 tests are actually implemented in v8test.[h|cpp].  There are also QtTest
(tst_v8.cpp) and non-Qt (v8main.cpp) stubs provided to run these tests.  This
is done to allow the tests to be run both in the Qt CI system, and manually
without a build of Qt.  The latter is necessary to run them against more exotic
build of V8, like the ARM simulator.

To build the non-Qt version of the tests, first build a debug or release V8
library under src/3rdparty/v8 using scons, and then use the Makefile.nonqt
makefile selecting one of the following targets:
    release: Build the tests with -O2 and link against libv8
    debug: Build the tests with -g and link against libv8_g
    release-m32: Build the tests with -O2 -m32 and link against libv8
    debug-m32: Build the tests with -g -m32 and link against libv8_g