Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
e1d9976b
Commit
e1d9976b
authored
Apr 28, 2017
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip tests that we expect won't work on MSVC.
parent
eb2f4556
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
endian-reverse-test.c++
c++/src/capnp/endian-reverse-test.c++
+6
-0
async-test.c++
c++/src/kj/async-test.c++
+3
-0
No files found.
c++/src/capnp/endian-reverse-test.c++
View file @
e1d9976b
...
...
@@ -19,6 +19,10 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#if !_MSC_VER
// (MSVC targets only little-endian platforms and so we haven't implemented any byte swapping
// intrinsics for it. So, this test would fail there.)
// Test that the code for the opposite endianness of our CPU works. E.g. on x86 this will test
// the bswap-based code.
#define CAPNP_REVERSE_ENDIAN 1
...
...
@@ -104,3 +108,5 @@ TEST(EndianReverse, EightBytes) {
}
// namespace
}
// namespace _ (private)
}
// namespace capnp
#endif // !_MSC_VER
c++/src/kj/async-test.c++
View file @
e1d9976b
...
...
@@ -26,9 +26,12 @@
namespace
kj
{
namespace
{
#if !_MSC_VER
// TODO(msvc): GetFunctorStartAddress is not supported on MSVC currently, so skip the test.
TEST
(
Async
,
GetFunctorStartAddress
)
{
EXPECT_TRUE
(
nullptr
!=
_
::
GetFunctorStartAddress
<>::
apply
([](){
return
0
;}));
}
#endif
TEST
(
Async
,
EvalVoid
)
{
EventLoop
loop
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment