Skip to content

Commit

Permalink
Add print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Dec 26, 2024
1 parent e9e84df commit 4cfe5cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ runs:
set -x
cd src
gn desc out/${{ matrix.platform }}_${{ matrix.config }}/ "*" --format=json > gn_desc.json
head gn_desc.json
TEST_TARGETS=$(vpython3 cobalt/build/test_targets.py --root_target=//cobalt:cobalt --gn_json=gn_desc.json)
echo "TEST_TARGETS=${TEST_TARGETS}" >> $GITHUB_ENV
$(echo "${TEST_TARGETS}")
Expand Down
5 changes: 3 additions & 2 deletions cobalt/build/test_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,6 @@ def get_relevant_test_targets(root_target, gn_json_path) -> typing.List[str]:
nargs='?',
help='The root target for which to find test targets.')
args = parser.parse_args()
' '.join(test_target[2:] for test_target in sorted(
get_relevant_test_targets(args.root_target, args.gn_json)))

print(' '.join(test_target[2:] for test_target in sorted(
get_relevant_test_targets(args.root_target, args.gn_json))))

0 comments on commit 4cfe5cf

Please sign in to comment.