Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
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
protobuf
Commits
95b4427d
Commit
95b4427d
authored
Mar 14, 2017
by
Josh Haberman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build system fixes for JS conformance tests.
parent
8df69f08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Makefile.am
conformance/Makefile.am
+5
-3
No files found.
conformance/Makefile.am
View file @
95b4427d
...
...
@@ -21,6 +21,7 @@ other_language_protoc_outputs = \
conformance_pb2.py
\
Conformance.pbobjc.h
\
Conformance.pbobjc.m
\
conformance_pb.js
\
conformance_pb.rb
\
com/google/protobuf/Any.java
\
com/google/protobuf/AnyOrBuilder.java
\
...
...
@@ -183,6 +184,7 @@ EXTRA_DIST = \
failure_list_cpp.txt
\
failure_list_csharp.txt
\
failure_list_java.txt
\
failure_list_js.txt
\
failure_list_objc.txt
\
failure_list_python.txt
\
failure_list_python_cpp.txt
\
...
...
@@ -241,7 +243,7 @@ if USE_EXTERNAL_PROTOC
# Some implementations include pre-generated versions of well-known types.
protoc_middleman
:
$(conformance_protoc_inputs) $(well_known_type_protoc_inputs) google-protobuf
$(PROTOC)
-I
$(srcdir)
-I
$(top_srcdir)
--cpp_out
=
.
--java_out
=
.
--ruby_out
=
.
--objc_out
=
.
--python_out
=
.
--php_out
=
.
--js_out
=
import_style
=
commonjs,binary:
google-protobuf
$(conformance_protoc_inputs)
$(PROTOC)
-I
$(srcdir)
-I
$(top_srcdir)
--cpp_out
=
.
--java_out
=
.
--ruby_out
=
.
--objc_out
=
.
--python_out
=
.
--php_out
=
.
--js_out
=
import_style
=
commonjs,binary:
.
$(conformance_protoc_inputs)
$(PROTOC)
-I
$(srcdir)
-I
$(top_srcdir)
--cpp_out
=
.
--java_out
=
.
--ruby_out
=
.
--python_out
=
.
--php_out
=
.
--js_out
=
import_style
=
commonjs,binary:google-protobuf
$(well_known_type_protoc_inputs)
##
$(PROTOC)
-I
$(srcdir)
-I
$(top_srcdir)
--java_out
=
lite:lite
$(conformance_protoc_inputs)
$(well_known_type_protoc_inputs)
touch
protoc_middleman
...
...
@@ -252,7 +254,7 @@ else
# relative to srcdir, which may not be the same as the current directory when
# building out-of-tree.
protoc_middleman
:
$(top_srcdir)/src/protoc$(EXEEXT) $(conformance_protoc_inputs) $(well_known_type_protoc_inputs) google-protobuf
oldpwd
=
`
pwd
`
&&
(
cd
$(srcdir)
&&
$$
oldpwd/../src/protoc
$(EXEEXT)
-I
.
-I
$(top_srcdir)
/src
--cpp_out
=
$$
oldpwd
--java_out
=
$$
oldpwd
--ruby_out
=
$$
oldpwd
--objc_out
=
$$
oldpwd
--python_out
=
$$
oldpwd
--php_out
=
$$
oldpwd
--js_out
=
import_style
=
commonjs,binary:
$$
oldpwd
/google-protobuf
$(conformance_protoc_inputs)
)
oldpwd
=
`
pwd
`
&&
(
cd
$(srcdir)
&&
$$
oldpwd/../src/protoc
$(EXEEXT)
-I
.
-I
$(top_srcdir)
/src
--cpp_out
=
$$
oldpwd
--java_out
=
$$
oldpwd
--ruby_out
=
$$
oldpwd
--objc_out
=
$$
oldpwd
--python_out
=
$$
oldpwd
--php_out
=
$$
oldpwd
--js_out
=
import_style
=
commonjs,binary:
$$
oldpwd
$(conformance_protoc_inputs)
)
oldpwd
=
`
pwd
`
&&
(
cd
$(srcdir)
&&
$$
oldpwd/../src/protoc
$(EXEEXT)
-I
.
-I
$(top_srcdir)
/src
--cpp_out
=
$$
oldpwd
--java_out
=
$$
oldpwd
--ruby_out
=
$$
oldpwd
--python_out
=
$$
oldpwd
--php_out
=
$$
oldpwd
--js_out
=
import_style
=
commonjs,binary:
$$
oldpwd/google-protobuf
$(well_known_type_protoc_inputs)
)
## @mkdir -p lite
## oldpwd=`pwd` &&
(
cd
$(srcdir)
&&
$$
oldpwd/../src/protoc
$(EXEEXT)
-I
.
-I
$(top_srcdir)
/src
--java_out
=
lite:
$$
oldpwd/lite
$(conformance_protoc_inputs)
$(well_known_type_protoc_inputs)
)
...
...
@@ -342,7 +344,7 @@ test_python: protoc_middleman conformance-test-runner
test_python_cpp
:
protoc_middleman conformance-test-runner
./conformance-test-runner
--enforce_recommended
--failure_list
failure_list_python_cpp.txt ./conformance_python.py
test_nodejs
:
protoc_middleman conformance-test-runner
test_nodejs
:
protoc_middleman conformance-test-runner
$(other_language_protoc_outputs)
NODE_PATH
=
../js:. ./conformance-test-runner
--enforce_recommended
--failure_list
failure_list_js.txt ./conformance_nodejs.js
if
OBJC_CONFORMANCE_TEST
...
...
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