File tree 2 files changed +14
-1
lines changed 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -60,5 +60,12 @@ py_library(
60
60
"opentelemetry-exporter-otlp-proto-common" ,
61
61
group = "testing" ,
62
62
),
63
- ],
63
+ ] + select ({
64
+ "@platforms//cpu:s390x" : [],
65
+ "@platforms//cpu:ppc" : [],
66
+ "//conditions:default" : [dependency (
67
+ "opentelemetry-exporter-otlp-proto-grpc" ,
68
+ group = "testing" ,
69
+ )],
70
+ }),
64
71
)
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ def main(argv):
18
18
__start_time = time .time ()
19
19
os .environ ["RESMOKE_PARENT_PROCESS" ] = str (os .getpid ())
20
20
os .environ ["RESMOKE_PARENT_CTIME" ] = str (psutil .Process ().create_time ())
21
+
22
+ # If invoked by "bazel run", ensure it runs in the workspace root.
23
+ workspace_dir = os .environ .get ("BUILD_WORKSPACE_DIRECTORY" )
24
+ if workspace_dir :
25
+ os .chdir (workspace_dir )
26
+
21
27
subcommand = parser .parse_command_line (
22
28
argv [1 :],
23
29
start_time = __start_time ,
You can’t perform that action at this time.
0 commit comments