aboutgitcodebugslistschat
path: root/test/lib/test
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-10-31 10:41:40 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-11-04 12:01:18 +0100
commitce2a0a5bb45b23a28ac9b125bd67a4678c009231 (patch)
tree312b2bc23fe5f0da9adc05439f1c8df103f665e3 /test/lib/test
parentbfd311aec786ce0b7d3b8bbaf37147aa1ba9ec08 (diff)
downloadpasst-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.tar
passt-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.tar.gz
passt-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.tar.bz2
passt-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.tar.lz
passt-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.tar.xz
passt-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.tar.zst
passt-ce2a0a5bb45b23a28ac9b125bd67a4678c009231.zip
test/lib: Add "td" directive, handled by table_value()
This can be used for generic cell values with an arbitrary scale. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/lib/test')
-rwxr-xr-xtest/lib/test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/test b/test/lib/test
index 4c271a5..df32178 100755
--- a/test/lib/test
+++ b/test/lib/test
@@ -278,6 +278,9 @@ test_one_line() {
"te")
table_end
;;
+ "td")
+ table_value ${__arg} || TEST_ONE_perf_nok=1
+ ;;
"bw")
table_value_throughput ${__arg} || TEST_ONE_perf_nok=1
;;