casacore_assay(1)
π casacore_assay β the manual, but make it make sense π
okay bestie, welcome to casacore_assay, a lil' page from the General Commands Manual section of your friendly neighbourhood casacore docs. it's a test-runner wrapper. it's giving "personal assistant for your test suite". let's get into it π«Ά
β¨ NAME β¨
casacore_assay β invoke an AIPS++ test program and verify its output
like, it runs your test and then checks that the test actually did the thing it was supposed to do. main character energy fr fr π
πΈ SYNOPSIS πΈ
casacore_assay testexe
one argument. that's it. we love a minimal interface π
π¦ DESCRIPTION π¦
so here's the vibe: casacore_assay invokes a casacore test program. simple enough.
but the way it decides how to invoke it? iconic. two paths:
- if the test program has an associated
.runfile, it just simply invokes it. no extra steps, no drama. that's it. - otherwise,
casacore_assayinvokes the test executable directly, and then β if there's a corresponding.outfile β it compares the test's output against that file. output disagreement gets caught. no cap.
also, plot twist: if there's a .in file associated with the test program, then assay will redirect stdin from it π. so your test gets fed the input it expects, automatically. queen behaviour.
π Exit status: π
here's the receipts β what each exit code is telling you:
0β success β¨ everything worked, slay1β test execution failed π the test itself didn't run right2β test output disagreement π the test ran, but its output did not match the.outfile3β untested (usually returned from a.run) π130β interrupt β‘ somebody hit that Ctrl-C
π ENVIRONMENT VARIABLES π
CASACORE_CHECKβ do checking using tools likevalgrind. it defines a script that will execute the command. that script can invoke the checking tool. and if you set it to1,yes, orYES, the scriptcasacore_memcheckwill be used, which usesvalgrind'smemchecktool. π§ memory leak detection, but make it automatic.
π AUTHOR π
this manual page was written according to the in-program comments by Benda Xu <heroxbd@gentoo.org>, for the Debian GNU/Linux system. respect the author, bestie π«‘
ngl if your test is disagreeing with its.outfile, that's exit code2and it's not being subtle about it π
and that's the whole page, no notes. this was casacore_assay from casacore, dated 2016-03-25. periodt πβ¨π¦
π¦ where this page comes from
- debian bookworm: casacore-tools 3.5.0-2+b3 Β· LGPL-2.0-or-later
- debian trixie: casacore-tools 3.7.1-1 Β· LGPL-2.0-or-later
- ubuntu jammy: casacore-tools 3.4.0-2build1 Β· LGPL-2.0-or-later
- ubuntu noble: casacore-tools 3.5.0-4.1ubuntu2 Β· LGPL-2.0-or-later
- ubuntu questing: casacore-tools 3.7.1-2
- ubuntu resolute: casacore-tools 3.8.0-4 Β· LGPL-2.0-or-later
- ubuntu stonking: casacore-tools 3.8.1-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms