File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,10 @@ internal_objc_proto_library(
591
591
internal_php_proto_library (
592
592
name = "test_messages_proto3_php_proto" ,
593
593
testonly = 1 ,
594
- srcs = ["//src/google/protobuf:test_messages_proto3.proto" ],
594
+ srcs = [
595
+ "//src/google/protobuf:test_messages_proto3.proto" ,
596
+ # "//src/google/protobuf/editions:golden/test_messages_proto3_editions.proto",
597
+ ],
595
598
outs = [
596
599
"GPBMetadata/TestMessagesProto3.php" ,
597
600
"Protobuf_test_messages/Proto3/EnumOnlyProto3.php" ,
Original file line number Diff line number Diff line change 6
6
require_once ("Conformance/FailureSet.php " );
7
7
require_once ("Conformance/JspbEncodingConfig.php " );
8
8
require_once ("Conformance/TestCategory.php " );
9
- require_once ("Protobuf_test_messages/Proto3/ForeignMessage.php " );
10
- require_once ("Protobuf_test_messages/Proto3/ForeignEnum.php " );
9
+ # require_once("Protobuf_test_messages/Proto3/ForeignMessage.php");
10
+ # require_once("Protobuf_test_messages/Proto3/ForeignEnum.php");
11
11
require_once ("Protobuf_test_messages/Proto3/TestAllTypesProto3.php " );
12
12
require_once ("Protobuf_test_messages/Proto3/TestAllTypesProto3/AliasedEnum.php " );
13
13
require_once ("Protobuf_test_messages/Proto3/TestAllTypesProto3/NestedMessage.php " );
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ conformance_test(
80
80
"@platforms//os:osx" : [],
81
81
"//conditions:default" : ["@platforms//:incompatible" ],
82
82
}),
83
+ maximum_edition = "2023" ,
83
84
testee = "//conformance:conformance_php_c" ,
84
85
text_format_failure_list = "//conformance:text_format_failure_list_php.txt" ,
85
86
)
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ if [[ -z "${PROTOC}" ]]; then
9
9
fi
10
10
if [ ! -f $PROTOC ]; then
11
11
${BAZEL:- bazel} $BAZEL_STARTUP_FLAGS build -c opt //:protoc $BAZEL_FLAGS
12
- PROTOC=$( pwd) /bazel-bin/protoc
12
+ PROTOC=" $( pwd) /bazel-bin/protoc --experimental_editions"
13
+ echo " USING LOCAL PROTOC ($PROTOC )"
13
14
fi
14
15
15
16
if [[ -d php/tmp && -z $( find php/tests/proto $PROTOC -newer php/tmp) ]]; then
You can’t perform that action at this time.
0 commit comments