From e42fa3fd020db0a54d0e3ecd8300a77e57fc08fd Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 5 May 2020 12:14:52 +0200 Subject: prog: refactor hints tests The way the tests fabricate types dynamically creates problems during any non-trivial changes to prog package. Use existing types from descriptions instead. --- sys/test/test.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/test/test.txt') diff --git a/sys/test/test.txt b/sys/test/test.txt index 68eb4f8df..ac2612768 100644 --- a/sys/test/test.txt +++ b/sys/test/test.txt @@ -725,8 +725,17 @@ syz_use_missing { # Hints tests. +test$hint_int(a0 ptr[in, hint_ints]) test$hint_data(a0 ptr[in, array[int8]]) +hint_ints { + int1_0 int8 + int2_0 int16 + int4_0 int32 + int8_0 int64 + int2_12 int16:12 +} + # Mutation tests. mutate0() -- cgit mrf-deployment