summaryrefslogtreecommitdiff
path: root/tests/auto/v8/README.txt
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2012-10-16 10:57:41 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-16 13:15:29 +0200
commitadb6125097d6e73650d4eea0e4447a4001a0766c (patch)
tree4da142d9e714042c72d8ba6ae1ca08934ee70ac8 /tests/auto/v8/README.txt
parentf5db1b5f6a04d5f08671ae4cee2eea8283a578aa (diff)
downloadqtjsbackend-adb6125097d6e73650d4eea0e4447a4001a0766c.tar.gz
Fix non-Qt testing
The Makefile.nonqt has been updated to use gyp build instead of scons. Some new test cases have been added for non-Qt testing and the Qt specific v8test_stringhascomparison has been skipped by NONQT_TESTING macro. Change-Id: I71f0d41de2f9c46767c9c9a7ec5c45ff25b1fe98 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/v8/README.txt')
-rw-r--r--tests/auto/v8/README.txt44
1 files changed, 38 insertions, 6 deletions
diff --git a/tests/auto/v8/README.txt b/tests/auto/v8/README.txt
index 097c459..da74642 100644
--- a/tests/auto/v8/README.txt
+++ b/tests/auto/v8/README.txt
@@ -5,9 +5,41 @@ 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
+library under src/3rdparty/v8 using gyp build.
+
+For example:
+make x64.release
+
+NOTE: If you get error message like "/bin/sh: build/gyp/gyp: not found" first use:
+make dependencies
+
+For detailed description about gyp build, see:
+http://code.google.com/p/v8/wiki/BuildingWithGYP
+
+After the successful build use Makefile.nonqt under tests/auto/v8 for testing.
+
+For example:
+make -f Makefile.nonqt x64.release
+./v8test_x64_release
+
+The following targets are available for non-Qt testing:
+ ia32-release: Build the tests with -O2 -m32 and link against libv8_base and
+ libv8_snapshot.
+ ia32-debug: Build the tests with -g -m32 and link against libv8_base and
+ libv8_snapshot.
+ x64-release: Build the tests with -O2 and link against libv8_base and
+ libv8_snapshot.
+ x64-debug: Build the tests with -g and link against libv8_base and
+ libv8_snapshot.
+ mips-release: Build the tests with -O2 -m32 and link against libv8_base and
+ libv8_nosnapshot.
+ mips-debug: Build the tests with -g and link against libv8_base and
+ libv8_nosnapshot.
+ arm-release: Build the tests with -O2 -m32 and link against libv8_base and
+ libv8_nosnapshot.
+ arm-debug: Build the tests with -g and link against libv8_base and
+ libv8_nosnapshot.
+
+NOTE: It is necessary to build the corresponding V8 libraries for each target. For
+example the arm simulator testing in release mode (arm-release) needs:
+make arm.release