From 683f205402a99cfc8cea46c83ce9b46a42616d42 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 16 Dec 2023 12:40:10 +0100 Subject: All kinds of stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- tests/fixed-array-types | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/fixed-array-types') diff --git a/tests/fixed-array-types b/tests/fixed-array-types index 070920e..06dcbb5 100644 --- a/tests/fixed-array-types +++ b/tests/fixed-array-types @@ -29,5 +29,14 @@ for os in $(getnamelist OS); do | sed 's/^\(array_size\) = 1$/\1 = 2/' > $a get-datatype-description.tu $osn $archn $(lookupnum "$types" $atype) $os $arch $atype > $b diff -u $a $b + + for n in 9 65; do + ptype=CHAR + atype=BUFFER_$n + get-datatype-description.tu $osn $archn $(lookupnum "$types" $ptype) $os $arch $ptype \ + | sed 's/^\(array_size\) = 1$/\1 = '$n/ > $a + get-datatype-description.tu $osn $archn $(lookupnum "$types" $atype) $os $arch $atype > $b + diff -u $a $b + done done done -- cgit v1.2.3-70-g09d2