Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
75be91a1
Commit
75be91a1
authored
10 years ago
by
Craig Tiller
Committed by
Nicolas "Pixel" Noble
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Allow Python to be built without sudo
parent
acbb2b8d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/run_tests/build_python.sh
+6
-2
6 additions, 2 deletions
tools/run_tests/build_python.sh
tools/run_tests/run_python.sh
+15
-13
15 additions, 13 deletions
tools/run_tests/run_python.sh
with
21 additions
and
15 deletions
tools/run_tests/build_python.sh
+
6
−
2
View file @
75be91a1
...
@@ -5,7 +5,11 @@ set -ex
...
@@ -5,7 +5,11 @@ set -ex
# change to grpc repo root
# change to grpc repo root
cd
$(
dirname
$0
)
/../..
cd
$(
dirname
$0
)
/../..
make
-j6
root
=
`
pwd
`
root
=
`
pwd
`
virtualenv python2.7_virtual_environment
virtualenv python2.7_virtual_environment
python2.7_virtual_environment/bin/pip
install
enum34
==
1.0.4
futures
==
2.2.0
protobuf
==
2.6.1
ln
-sf
$root
/include/grpc python2.7_virtual_environment/include/grpc
python2.7_virtual_environment/bin/pip
install
src/python
source
python2.7_virtual_environment/bin/activate
pip
install
enum34
==
1.0.4
futures
==
2.2.0
protobuf
==
2.6.1
CFLAGS
=
-I
$root
/include
LDFLAGS
=
-L
$root
/libs/opt pip
install
src/python
This diff is collapsed.
Click to expand it.
tools/run_tests/run_python.sh
+
15
−
13
View file @
75be91a1
...
@@ -6,19 +6,21 @@ set -ex
...
@@ -6,19 +6,21 @@ set -ex
cd
$(
dirname
$0
)
/../..
cd
$(
dirname
$0
)
/../..
root
=
`
pwd
`
root
=
`
pwd
`
export
LD_LIBRARY_PATH
=
$root
/libs/opt
source
python2.7_virtual_environment/bin/activate
# TODO(issue 215): Properly itemize these in run_tests.py so that they can be parallelized.
# TODO(issue 215): Properly itemize these in run_tests.py so that they can be parallelized.
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._blocking_invocation_inline_service_test
python2.7
-B
-m
_adapter._blocking_invocation_inline_service_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._c_test
python2.7
-B
-m
_adapter._c_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._event_invocation_synchronous_event_service_test
python2.7
-B
-m
_adapter._event_invocation_synchronous_event_service_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._future_invocation_asynchronous_event_service_test
python2.7
-B
-m
_adapter._future_invocation_asynchronous_event_service_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._links_test
python2.7
-B
-m
_adapter._links_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._lonely_rear_link_test
python2.7
-B
-m
_adapter._lonely_rear_link_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_adapter._low_test
python2.7
-B
-m
_adapter._low_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_framework.base.packets.implementations_test
python2.7
-B
-m
_framework.base.packets.implementations_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_framework.face.blocking_invocation_inline_service_test
python2.7
-B
-m
_framework.face.blocking_invocation_inline_service_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_framework.face.event_invocation_synchronous_event_service_test
python2.7
-B
-m
_framework.face.event_invocation_synchronous_event_service_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_framework.face.future_invocation_asynchronous_event_service_test
python2.7
-B
-m
_framework.face.future_invocation_asynchronous_event_service_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_framework.foundation._later_test
python2.7
-B
-m
_framework.foundation._later_test
python2.7_virtual_environment/bin/
python2.7
-B
-m
_framework.foundation._logging_pool_test
python2.7
-B
-m
_framework.foundation._logging_pool_test
# TODO(nathaniel): Get tests working under 3.4 (requires 3.X-friendly protobuf)
# TODO(nathaniel): Get tests working under 3.4 (requires 3.X-friendly protobuf)
# python3.4 -B -m unittest discover -s src/python -p '*.py'
# python3.4 -B -m unittest discover -s src/python -p '*.py'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment