xinguai / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Does not support WinCE #145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. IDE: Visual C++, Windows Mobile 6 Standard/Professional SDKs
2. Compile any test
3.

Windows CE does not provide <io.h> and <errno.h>. 
Instead of using Posix like int file handlers you could use FILE* handlers
- typedef maybe?
stdout or whatever is used as standard output could be redirected to
\some_output_file.txt for example.

Original issue reported on code.google.com by michal.e...@gmail.com on 6 May 2009 at 1:08

GoogleCodeExporter commented 9 years ago
And by the way - I've seen your reply to comment that you don't have the access 
to
Windows CE development environment. If you install these SDKs you will have the
device emulator with an access to its files, access to its registry etc. So 
don't
worry any more :) This emulator will allow you to prepare fully functional 
Google
Test for Windows CE :D
With best regards 
Michal

Original comment by michal.e...@gmail.com on 6 May 2009 at 1:57

GoogleCodeExporter commented 9 years ago
Michal, which version of gtest are you using?  Are you still seeing the errors 
when
using the version from the SVN trunk head?  If so, would you like to submit a 
patch
against the trunk head for review?  You can find instructions on the dev guide 
wiki
page.  Many thanks.

Original comment by zhanyong...@gmail.com on 7 May 2009 at 5:27

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 7 May 2009 at 5:28

GoogleCodeExporter commented 9 years ago
Closing as we haven't heard from the user for ~1 month and we don't have the 
resources 
to pursue this ourselves.

Original comment by zhanyong...@gmail.com on 5 Jun 2009 at 6:21

GoogleCodeExporter commented 9 years ago
It's ok, for now and I suppose for the next month. I won't have time to write 
this
patch. However I will write this patch later anyway. The question is if you 
want it.

Original comment by michal.e...@gmail.com on 5 Jun 2009 at 8:23

GoogleCodeExporter commented 9 years ago
I have the same error when trying to compile the gtest under wince 5.0.

in gtest-death-test-internal.h : 

#if GTEST_HAS_DEATH_TEST && GTEST_OS_WINDOWS
#include <io.h>
#endif  // GTEST_HAS_DEATH_TEST && GTEST_OS_WINDOWS

Original comment by yri...@gmail.com on 8 Jun 2009 at 8:03

GoogleCodeExporter commented 9 years ago
I got the same issue with gtest 1.3.0. This is related with the Death test, i 
guess.
I be able to compile the framework 1.2.1 with my WindowsCE sdk.

Could you confirm me if you will fix this in next release ...

thanks

Original comment by yri...@gmail.com on 10 Jun 2009 at 6:09