Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
f8f2e59f
Commit
f8f2e59f
authored
Nov 02, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test 3.6.7 and 3.7.1
parent
7b6af6fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
15 deletions
+20
-15
Makefile
Makefile
+4
-4
scripts/install.sh
scripts/install.sh
+3
-3
src/greentest/test__socket_send_memoryview.py
src/greentest/test__socket_send_memoryview.py
+13
-8
No files found.
Makefile
View file @
f8f2e59f
...
...
@@ -130,8 +130,8 @@ PY278=$(BUILD_RUNTIMES)/snakepit/python2.7.8
PY27
=
$(BUILD_RUNTIMES)
/snakepit/python2.7.15
PY34
=
$(BUILD_RUNTIMES)
/snakepit/python3.4.8
PY35
=
$(BUILD_RUNTIMES)
/snakepit/python3.5.5
PY36
=
$(BUILD_RUNTIMES)
/snakepit/python3.6.
6
PY37
=
$(BUILD_RUNTIMES)
/snakepit/python3.7.
0
PY36
=
$(BUILD_RUNTIMES)
/snakepit/python3.6.
7
PY37
=
$(BUILD_RUNTIMES)
/snakepit/python3.7.
1
PYPY
=
$(BUILD_RUNTIMES)
/snakepit/pypy600
PYPY3
=
$(BUILD_RUNTIMES)
/snakepit/pypy3.5_600
...
...
@@ -194,10 +194,10 @@ test-py35: $(PY35)
PYTHON
=
python3.5.5
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.5.5/bin:
$(PATH)
make develop basictest
test-py36
:
$(PY36)
PYTHON
=
python3.6.
6
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.6.6
/bin:
$(PATH)
make develop lint allbackendtest
PYTHON
=
python3.6.
7
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.6.7
/bin:
$(PATH)
make develop lint allbackendtest
test-py37
:
$(PY37)
LD_LIBRARY_PATH
=
$(BUILD_RUNTIMES)
/versions/python3.7.
0/openssl/lib
PYTHON
=
python3.7.0
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.7.0
/bin:
$(PATH)
make develop leaktest cffibackendtest coverage_combine
LD_LIBRARY_PATH
=
$(BUILD_RUNTIMES)
/versions/python3.7.
1/openssl/lib
PYTHON
=
python3.7.1
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.7.1
/bin:
$(PATH)
make develop leaktest cffibackendtest coverage_combine
test-pypy
:
$(PYPY)
PYTHON
=
$(PYPY)
PATH
=
$(BUILD_RUNTIMES)
/versions/pypy600/bin:
$(PATH)
make develop cffibackendtest
...
...
scripts/install.sh
View file @
f8f2e59f
...
...
@@ -49,7 +49,7 @@ PYENV=$BASE/pyenv
# The file for 3.7b1 shipped with pyenv on Feb 6 2018
# won't compile on Travis. So we use a forked version that
# compiles openssl for us. We also beat them to the punch for 3.7b2, b3, b4
# compiles openssl for us. We also beat them to the punch for 3.7b2, b3, b4
, .0, .1
# https://github.com/travis-ci/travis-ci/issues/9069
if
[
!
-d
"
$PYENV
/.git"
]
;
then
...
...
@@ -105,10 +105,10 @@ for var in "$@"; do
install
3.5.5 python3.5.5
;;
3.6
)
install
3.6.
6 python3.6.6
install
3.6.
7 python3.6.7
;;
3.7
)
install
3.7.
0 python3.7.0
install
3.7.
1 python3.7.1
;;
pypy
)
install
pypy2.7-6.0.0 pypy600
...
...
src/greentest/test__socket_send_memoryview.py
View file @
f8f2e59f
# See issue #466
import
unittest
import
ctypes
...
...
@@ -20,15 +21,19 @@ def _send(socket):
getattr
(
sock
,
meth
)(
anStructure
)
sock
.
close
()
def
TestSendBuiltinSocket
():
import
socket
_send
(
socket
)
class
TestSendBuiltinSocket
(
unittest
.
TestCase
):
def
test_send
(
self
):
import
socket
_send
(
socket
)
class
TestSendGeventSocket
(
unittest
.
TestCase
):
def
test_send
(
self
):
import
gevent.socket
_send
(
gevent
.
socket
)
def
TestSendGeventSocket
():
import
gevent.socket
_send
(
gevent
.
socket
)
if
__name__
==
'__main__'
:
TestSendBuiltinSocket
()
TestSendGeventSocket
()
unittest
.
main
()
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