-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.
Description
if [ "$$(wc -c $(TMPDIR)/out.log | cut -d' ' -f 1)" = "0" ]; then \ |
see also: #53642 (comment)
As noted above, the snip
[ $(wc -c file | cut -d' ' -f1) == 0 ]
should be replaced with ! [ -s file ]
which should make such scripts more portable.other locations of this are easily found with: https://github.com/rust-lang/rust/search?q=wc (only the
= "0"
or -eq 0
or such usages are interesting)Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Makefile
-basedrun-make
test infra #136581Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Unrolled build for rust-lang#136581