plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit 729a41fbe044e237c4c7a05ffeb1de56f33296b8
parent ccafaf005065aa368c50665aead364f039c1d040
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 15 Aug 2019 00:42:48 +0200

testing code

Diffstat:
test.sh | 2+-
test_one.sh | 5+++++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/test.sh b/test.sh @@ -11,6 +11,6 @@ for a in plint/test_data/*.tpl; do then ./plint.py $(pwd)/$a ../data/diaeresis_cyrano.json < $(pwd)/${a%.tpl} else - ./plint.py $a < $(pwd)/${a%.tpl} + ./test_one.sh $(basename "${a%.tpl}") fi done diff --git a/test_one.sh b/test_one.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +TEXT="$1" + +./plint.py "plint/test_data/$TEXT.tpl" < "plint/test_data/$TEXT"