From 392533f8eefdce44deae08f6e2401838b53dc5a5 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Thu, 1 Feb 2024 11:12:11 +0800 Subject: [PATCH] subkernel lit tests: fix timeouts to no-timeouts --- artiq/test/lit/embedding/subkernel_message_recv.py | 2 +- artiq/test/lit/embedding/subkernel_return.py | 4 ++-- artiq/test/lit/embedding/subkernel_return_none.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/artiq/test/lit/embedding/subkernel_message_recv.py b/artiq/test/lit/embedding/subkernel_message_recv.py index 2331001e7..35e094aa6 100644 --- a/artiq/test/lit/embedding/subkernel_message_recv.py +++ b/artiq/test/lit/embedding/subkernel_message_recv.py @@ -9,7 +9,7 @@ def entrypoint(): # CHECK: call void @subkernel_load_run\(i32 1, i8 1, i1 true\), !dbg !. message_pass() # CHECK-NOT: call void @subkernel_send_message\(i32 ., i1 false, i8 1, i8 1, .*\), !dbg !. - # CHECK: call i8 @subkernel_await_message\(i32 2, i64 10000, { i8\*, i32 }\* nonnull .*, i8 1, i8 1\), !dbg !. + # CHECK: call i8 @subkernel_await_message\(i32 2, i64 -1, { i8\*, i32 }\* nonnull .*, i8 1, i8 1\), !dbg !. subkernel_recv("message", TInt32) diff --git a/artiq/test/lit/embedding/subkernel_return.py b/artiq/test/lit/embedding/subkernel_return.py index 8fcf023d6..3c9d1169a 100644 --- a/artiq/test/lit/embedding/subkernel_return.py +++ b/artiq/test/lit/embedding/subkernel_return.py @@ -9,8 +9,8 @@ def entrypoint(): # CHECK: call void @subkernel_load_run\(i32 1, i8 1, i1 true\), !dbg !. # CHECK-NOT: call void @subkernel_send_message\(.*\), !dbg !. returning() - # CHECK: call i8 @subkernel_await_message\(i32 1, i64 10000, { i8\*, i32 }\* nonnull .*, i8 1, i8 1\), !dbg !. - # CHECK: call void @subkernel_await_finish\(i32 1, i64 10000\), !dbg !. + # CHECK: call i8 @subkernel_await_message\(i32 1, i64 -1, { i8\*, i32 }\* nonnull .*, i8 1, i8 1\), !dbg !. + # CHECK: call void @subkernel_await_finish\(i32 1, i64 -1\), !dbg !. subkernel_await(returning) # CHECK-L: declare void @subkernel_load_run(i32, i8, i1) local_unnamed_addr diff --git a/artiq/test/lit/embedding/subkernel_return_none.py b/artiq/test/lit/embedding/subkernel_return_none.py index d1636220c..a7795f785 100644 --- a/artiq/test/lit/embedding/subkernel_return_none.py +++ b/artiq/test/lit/embedding/subkernel_return_none.py @@ -9,8 +9,8 @@ def entrypoint(): # CHECK: call void @subkernel_load_run\(i32 1, i8 1, i1 true\), !dbg !. # CHECK-NOT: call void @subkernel_send_message\(.*\), !dbg !. returning_none() - # CHECK: call void @subkernel_await_finish\(i32 1, i64 10000\), !dbg !. - # CHECK-NOT: call i8 @subkernel_await_message\(i32 1, i64 10000\, .*\), !dbg !. + # CHECK: call void @subkernel_await_finish\(i32 1, i64 -1\), !dbg !. + # CHECK-NOT: call i8 @subkernel_await_message\(i32 1, i64 -1\, .*\), !dbg !. subkernel_await(returning_none) # CHECK-L: declare void @subkernel_load_run(i32, i8, i1) local_unnamed_addr