mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
2e5050481d
I removed the '.out' extension for now to preserve the test output file names and avoid a million file renames. This makes the patch easier to read, and we can do the rename easily in another patch afterwards, without mixing with semantic changes. (beautiful script àlarrache: ```bash for f in */*/output/*; do target_base=${f##*/} target_base=${target_base%%.*} echo $f | awk -F. '{ f=$1"."$2; if ($4 == "") { mode=$3; id=$3 } else { scope="-s "$3; mode=$4; id=$3"."$4} printf "\n```catala-test {id=\"%s\"}\ncatala %s %s\n```\n",id,mode,scope; }' >> $(dirname $f)/../${target_base}.*; done ``` |
||
---|---|---|
.. | ||
output | ||
ambiguous_cases.catala_en | ||
ambiguous_wildcard.catala_en | ||
duplicate_case.catala_en | ||
empty.catala_en | ||
missing_case.catala_en | ||
not_ending_wildcard.catala_en | ||
quick_pattern_2.catala_en | ||
quick_pattern_3.catala_en | ||
quick_pattern_4.catala_en | ||
quick_pattern_fail.catala_en | ||
too_many_cases.catala_en | ||
useless_wildcard.catala_en |