RE: [v8-users] Trouble running tests on Windows

2015-09-15 Thread Domenic Denicola
From: v8-users@googlegroups.com [mailto:v8-users@googlegroups.com] On Behalf Of 
Jakob Kummerow

> https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP#Running_tests

Thanks. I think I had previously tried that but forgotten to change "build" to 
"out".

It would still be ideal if Windows developers got the same out-of-the-box 
experience as other developers, where run-tests.py just worked.

 > Did https://codereview.chromium.org/1281453003 not help with that?

I don't believe so. I'm working off of the latest master branch which has these 
changes applied.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[v8-users] Trouble running tests on Windows

2015-09-15 Thread Domenic Denicola
I have two persistent issues while trying to run the V8 tests on Windows, 
and was hoping someone had figured out a workaround:

   1. run-tests.py seems to expect output to be in folders named things 
   like out/ia32.debug or out/x64.debug, whereas the Windows build puts them 
   in out/Debug and out/Debug_x64. To run the tests I end up needing to rename 
   my output directories, and then of course rename them back before doing any 
   incremental builds.
   2. I cannot figure out how to run individual tests. Doing 
   tools/run-tests.py cctest/test-api/ExperimentalExtras always exits with 
   zero tests run. However I can run an entire suite, e.g. tools/run-tests.py 
   cctest.
   
Hoping some Windows developers out there have figured these out.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Trouble running tests on Windows

2015-09-15 Thread Jakob Kummerow
On Tue, Sep 15, 2015 at 7:31 PM, Domenic Denicola  wrote:

> I have two persistent issues while trying to run the V8 tests on Windows,
> and was hoping someone had figured out a workaround:
>
>1. run-tests.py seems to expect output to be in folders named things
>like out/ia32.debug or out/x64.debug, whereas the Windows build puts them
>in out/Debug and out/Debug_x64. To run the tests I end up needing to rename
>my output directories, and then of course rename them back before doing any
>incremental builds.
>
> https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP#Running_tests


>
>1. I cannot figure out how to run individual tests. Doing
>tools/run-tests.py cctest/test-api/ExperimentalExtras always exits with
>zero tests run. However I can run an entire suite, e.g. tools/run-tests.py
>cctest.
>
> Did https://codereview.chromium.org/1281453003 not help with that?

> Hoping some Windows developers out there have figured these out.
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Compile static android arm on linux

2015-09-15 Thread Jakob Kummerow
Try building in Release mode instead of Debug, the generated artifacts
should be a lot smaller.

That said, if you do custom modifications to the build system, you're
pretty much on your own when things don't work as expected.

Also, consider using the latest stable branch instead of a random daily
snapshot.


On Mon, Sep 14, 2015 at 8:21 PM, Krystian Kruk  wrote:

> Hi!
>
> I'm trying to embed V8 on android.
> Compiling on MacOS is currently broken as I see, so I tried on a fresh
> Ubuntu distro (VM).
>
> My steps :
> 1. get depot_tools
> 
> 2. `fetch v8`
> 3. `git checkout origin/4.7.49
> `
> 4. `echo "target_os = ['android']" >> ../.gclient && gclient sync
> --nohooks` as described on wiki
> 
> 5. `sudo apt-get install libc6-dev-i386 g++-multilib` (because compiling
> errors with some missed libraries)
> 6. add `'standalone_static_library': 1` to build/standalone.gypi (here
> )
>  -
> to get a no-'thin library'
> 7. `make android_arm.debug i18nsupport=off`
> 8. POOF! out/android_arm.debug/obj.target/tools/gyp/libv8_base.a is ~700MB.
>
> What I'm doing wrong?
> Thanks!
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Trouble running tests on Windows

2015-09-15 Thread Jakob Kummerow
On Tue, Sep 15, 2015 at 8:16 PM, Domenic Denicola  wrote:

> From: v8-users@googlegroups.com [mailto:v8-users@googlegroups.com] On
> Behalf Of Jakob Kummerow
>
> > https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP#Running_tests
>
> Thanks. I think I had previously tried that but forgotten to change
> "build" to "out".
>
> It would still be ideal if Windows developers got the same out-of-the-box
> experience as other developers, where run-tests.py just worked.
>

You know we accept patches ;-)
Assuming there are Windows developers, this is a great example of an
improvement they could contribute (as it's hard to motivate non-Windows
developers to spend time on it).


>  > Did https://codereview.chromium.org/1281453003 not help with that?
>
> I don't believe so. I'm working off of the latest master branch which has
> these changes applied.
>

Hm, too bad. Anyway, try reversing some of the slashes (maybe
"cctest\test-api/foo"). And again, if you figure out how to fix it in the
test driver, feel free to submit a patch.


>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.