Skip to content

FST: detect detectors with no raw data also on macOS - #16077

Merged
davidrohr merged 1 commit into
AliceO2Group:devfrom
ktf:pr16077
Nov 9, 2026
Merged

davidrohr merged 1 commit into
AliceO2Group:devfrom
ktf:pr16077

Conversation

@ktf

@ktf ktf commented Nov 7, 2026

Copy link
Copy Markdown
Member

The check for detectors that produced only empty raw files compared the
output of wc -l with "0". BSD wc, as on macOS, pads its count with
spaces, so the comparison never matched and an empty raw output went
unnoticed: the TRD raw files of a run were all empty, and the test only
failed later, when no CTF had been written. grep -c prints the bare count
on every platform.

The check for detectors that produced only empty raw files compared the
output of wc -l with "0". BSD wc, as on macOS, pads its count with
spaces, so the comparison never matched and an empty raw output went
unnoticed: the TRD raw files of a run were all empty, and the test only
failed later, when no CTF had been written. grep -c prints the bare count
on every platform.
@ktf
ktf requested a review from a team as a code owner November 7, 2026 15:40
@davidrohr
davidrohr merged commit d5cdad2 into AliceO2Group:dev Nov 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants