@@ -50,16 +50,16 @@ def _bluepill_batch_test_impl(ctx):
50
50
substitutions = {
51
51
"test_bundle_paths" : " " .join (test_bundle_paths ),
52
52
"test_host_paths" : " " .join (test_host_paths ),
53
- "bp_test_plan" : test_plan_file .basename ,
53
+ "bp_test_plan" : test_plan_file .short_path ,
54
54
"bp_path" : ctx .executable ._bp_exec .short_path ,
55
55
"bluepill_path" : ctx .executable ._bluepill_exec .short_path ,
56
56
"target_name" : ctx .attr .name ,
57
57
}
58
58
if ctx .attr .config_file :
59
- runfiles += [ ctx .file .config_file ]
59
+ runfiles . append ( ctx .file .config_file )
60
60
substitutions ["bp_config_file" ] = ctx .file .config_file .path
61
61
if ctx .attr .time_estimates :
62
- runfiles += [ ctx .file .time_estimates ]
62
+ runfiles . append ( ctx .file .time_estimates )
63
63
substitutions ["bp_test_time_estimates_json" ] = ctx .file .time_estimates .path
64
64
ctx .actions .expand_template (
65
65
template = ctx .file ._test_runner_template ,
@@ -134,13 +134,11 @@ as possible between simulators.
134
134
},
135
135
doc = """
136
136
Test rule to aggregate a list of test rules and pass them for bluepill for execution
137
-
138
137
Outputs:
139
138
Runfiles:
140
139
files: The files needed during runtime for the test to be performed. It contains the
141
140
test plan json file, bluepill config file if specified, xctest bundles, test hosts.
142
-
143
141
This rule WILL disregard the bluepill output folder configuration if it's set in the
144
142
config json file. Instead it will copy all the outputs to ./bazel-testlogs/$TARGET_NAME/test.outputs/
145
143
""" ,
146
- )
144
+ )
0 commit comments