1 parent b3ec550 commit 61519edCopy full SHA for 61519ed
1 file changed
tests/runtime-async/async/cancel-import/runner.c
@@ -1,5 +1,7 @@
1
//@ args = '--rename my:test/i=test'
2
3
+#include <stdio.h>
4
+
5
#include <assert.h>
6
#include <runner.h>
7
@@ -19,6 +21,8 @@ int main() {
19
21
// Buggy line is below
20
22
//
23
// This is returning <???> *instead* of SUBTASK_RETURNED_CANCELLED
24
+ printf("SUBTASK STATE (pre-macro) [%d]\n", status);
25
+ printf("SUBTASK STATE (poste-macro) [%d]\n", SUBTASK_STATE(status));
26
assert(RUNNER_SUBTASK_STATE(status) == RUNNER_SUBTASK_RETURNED_CANCELLED);
27
/* assert(RUNNER_SUBTASK_STATE(status) == RUNNER_SUBTASK_STARTING); // <---- maybe it returned? */
28
0 commit comments