forked from zeromq/zyre
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: test timeout in zyre.c:608 may be too short
Especially under CI. Solution: increase somewhat.
- Loading branch information
Showing
75 changed files
with
1,844 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ | ||
|
||
if (NOT MSVC) | ||
include(FindPkgConfig) | ||
pkg_check_modules(PC_UUID "uuid") | ||
if (NOT PC_UUID_FOUND) | ||
pkg_check_modules(PC_UUID "uuid") | ||
endif (NOT PC_UUID_FOUND) | ||
if (PC_UUID_FOUND) | ||
# some libraries install the headers is a subdirectory of the include dir | ||
# returned by pkg-config, so use a wildcard match to improve chances of finding | ||
# headers and SOs. | ||
set(PC_UUID_INCLUDE_HINTS ${PC_UUID_INCLUDE_DIRS} ${PC_UUID_INCLUDE_DIRS}/*) | ||
set(PC_UUID_LIBRARY_HINTS ${PC_UUID_LIBRARY_DIRS} ${PC_UUID_LIBRARY_DIRS}/*) | ||
endif(PC_UUID_FOUND) | ||
endif (NOT MSVC) | ||
|
||
find_path ( | ||
UUID_INCLUDE_DIRS | ||
NAMES uuid/uuid.h | ||
HINTS ${PC_UUID_INCLUDE_HINTS} | ||
) | ||
|
||
find_library ( | ||
UUID_LIBRARIES | ||
NAMES uuid | ||
HINTS ${PC_UUID_LIBRARY_HINTS} | ||
) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_package_handle_standard_args( | ||
UUID | ||
REQUIRED_VARS UUID_LIBRARIES UUID_INCLUDE_DIRS | ||
) | ||
mark_as_advanced( | ||
UUID_FOUND | ||
UUID_LIBRARIES UUID_INCLUDE_DIRS | ||
) | ||
|
||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
@ECHO OFF | ||
:- configure.bat creates platform.h and configures the build process | ||
:- You MUST run this before building via msbuild or VisualStudio. | ||
|
||
IF %1.==--help. ( | ||
ECHO Syntax: configure [ switch ] | ||
ECHO --help show this help | ||
ECHO --enable-drafts from zip package, enables DRAFT API | ||
ECHO --disable-drafts from git repository, disables DRAFT API | ||
ECHO --without-perf_local do not build perf_local.exe | ||
ECHO --without-perf_remote do not build perf_remote.exe | ||
ECHO --without-zpinger do not build zpinger.exe | ||
ECHO --without-ztester_beacon do not build ztester_beacon.exe | ||
ECHO --without-ztester_gossip do not build ztester_gossip.exe | ||
ECHO --without-zyre_selftest do not build zyre_selftest.exe | ||
GOTO END | ||
) | ||
ECHO Configuring zyre... | ||
|
||
ECHO // Generated by configure.bat> platform.h | ||
ECHO. >> platform.h | ||
ECHO #ifndef __PLATFORM_H_INCLUDED__>> platform.h | ||
ECHO #define __PLATFORM_H_INCLUDED__>> platform.h | ||
ECHO. >> platform.h | ||
ECHO #define ZYRE_HAVE_WINDOWS 1>> platform.h | ||
|
||
:- Check for dependencies | ||
IF EXIST "..\..\..\libsodium" ( | ||
ECHO Building with libsodium | ||
ECHO #define HAVE_LIBSODIUM 1>> platform.h | ||
) ELSE ( | ||
ECHO Building without libsodium | ||
ECHO #undef HAVE_LIBSODIUM>> platform.h | ||
) | ||
IF EXIST "..\..\..\libzmq" ( | ||
ECHO Building with libzmq | ||
ECHO #define HAVE_LIBZMQ 1>> platform.h | ||
) ELSE ( | ||
ECHO Building without libzmq | ||
ECHO zyre cannot build without libzmq | ||
ECHO Please clone https://github.com/zeromq/libzmq, and then configure & build | ||
ECHO TODO: resolve this problem automatically. | ||
GOTO error | ||
) | ||
IF EXIST "..\..\..\uuid" ( | ||
ECHO Building with uuid | ||
ECHO #define HAVE_UUID 1>> platform.h | ||
) ELSE ( | ||
ECHO Building without uuid | ||
ECHO #undef HAVE_UUID>> platform.h | ||
) | ||
IF EXIST "..\..\..\czmq" ( | ||
ECHO Building with czmq | ||
ECHO #define HAVE_CZMQ 1>> platform.h | ||
) ELSE ( | ||
ECHO Building without czmq | ||
ECHO zyre cannot build without czmq | ||
ECHO Please clone https://github.com/zeromq/czmq, and then configure & build | ||
ECHO TODO: resolve this problem automatically. | ||
GOTO error | ||
) | ||
|
||
:- Check if we want to build the draft API | ||
IF NOT EXIST "..\..\.git" GOTO no_draft | ||
ECHO Building with draft API (stable + legacy + draft API) | ||
ECHO // Provide draft classes and methods>>platform.h | ||
ECHO #define ZYRE_BUILD_DRAFT_API 1>>platform.h | ||
GOTO end_draft | ||
:no_draft | ||
ECHO Building without draft API (stable + legacy API) | ||
ECHO #undef ZYRE_BUILD_DRAFT_API 1>>platform.h | ||
:end_draft | ||
ECHO. >> platform.h | ||
ECHO #endif>> platform.h | ||
:error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
|
||
/* ========================================================================= | ||
platform.h | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this | ||
file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
################################################################################ | ||
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # | ||
# Please refer to the README for information about making permanent changes. # | ||
################################################################################ | ||
========================================================================= | ||
*/ | ||
|
||
#ifndef __PLATFORM_H_INCLUDED__ | ||
#define __PLATFORM_H_INCLUDED__ | ||
|
||
#define ZYRE_HAVE_WINDOWS | ||
|
||
#endif | ||
#error "Run configure.bat to create platform.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# This is a skeleton created by zproject. | ||
# You can add hand-written code here. | ||
from ._zyre_ctypes import * |
Oops, something went wrong.