From 4c703b580c40651e0f2c6aa6e83e5cf614c3bbde Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 27 Mar 2021 22:59:58 +0100 Subject: [PATCH] t: planned feature for negative limits Do not count names ending in #TODO as failing. --- t/regress.t | 11 +++++++++-- t/t1504-bottom_limit.in | 1 + t/t1504-bottom_limit_-L-3_#TODO.out | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 120000 t/t1504-bottom_limit.in create mode 100644 t/t1504-bottom_limit_-L-3_#TODO.out diff --git a/t/regress.t b/t/regress.t index 508d361..e149b36 100755 --- a/t/regress.t +++ b/t/regress.t @@ -68,8 +68,15 @@ do if test 0 != $? then - fail_count=$((fail_count+1)) - color 1\;31 + case "$name" in + *' #TODO') + color 33 + ;; + *) + fail_count=$((fail_count+1)) + color 1\;31 + esac + printf 'not ' fi echo "ok $test_count - $name" diff --git a/t/t1504-bottom_limit.in b/t/t1504-bottom_limit.in new file mode 120000 index 0000000..0dbe582 --- /dev/null +++ b/t/t1504-bottom_limit.in @@ -0,0 +1 @@ +t1002-sinewave.in \ No newline at end of file diff --git a/t/t1504-bottom_limit_-L-3_#TODO.out b/t/t1504-bottom_limit_-L-3_#TODO.out new file mode 100644 index 0000000..6bf764d --- /dev/null +++ b/t/t1504-bottom_limit_-L-3_#TODO.out @@ -0,0 +1,3 @@ +3350 ------------ +2392 -------- +1411 ----- -- 2.30.0