Skip to content

Commit

Permalink
[antlir2][image_test] forward args from standalone script
Browse files Browse the repository at this point in the history
Summary:
In the `buck2 build` version of the test script, forward args from the user to
the underlying test.
This already worked for `buck2 run`, but not the standalone version of the script

Test Plan: testhard

Reviewed By: naveedgol

Differential Revision: D65792011

fbshipit-source-id: 3d1e431c9fb08a466e9fa62c5130a7d6c7faa9f5
  • Loading branch information
vmagro authored and facebook-github-bot committed Jan 2, 2025
1 parent 8a7cc4d commit 64b82dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions antlir/antlir2/testing/image_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def _impl(ctx: AnalysisContext) -> list[Provider]:
"#!/bin/bash",
cmd_args(
test_cmd,
'"$@"',
delimiter = " \\\n ",
),
"\n",
Expand Down

0 comments on commit 64b82dc

Please sign in to comment.