summaryrefslogtreecommitdiff
path: root/tests/auto/v8/README.txt
diff options
context:
space:
mode:
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