diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-04-23 14:27:00 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-04-23 14:27:00 +0200 |
| commit | efb81b501adbbddf25615bbcc216bbbf3a3c8e0a (patch) | |
| tree | 5f354dfeee836ef78c0935cc2d0ec66e6276151c /unit_tests | |
| parent | 7eb03175d19fca48ac915fc03c352e0d429bc37e (diff) | |
| download | lanes-efb81b501adbbddf25615bbcc216bbbf3a3c8e0a.tar.gz lanes-efb81b501adbbddf25615bbcc216bbbf3a3c8e0a.tar.bz2 lanes-efb81b501adbbddf25615bbcc216bbbf3a3c8e0a.zip | |
cancel_test() returns "soft"/"hard" instead of true
Diffstat (limited to 'unit_tests')
| -rw-r--r-- | unit_tests/scripts/lane/cooperative_shutdown.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/unit_tests/scripts/lane/cooperative_shutdown.lua b/unit_tests/scripts/lane/cooperative_shutdown.lua index 756e33c..0e30f91 100644 --- a/unit_tests/scripts/lane/cooperative_shutdown.lua +++ b/unit_tests/scripts/lane/cooperative_shutdown.lua | |||
| @@ -23,7 +23,6 @@ end | |||
| 23 | local lane3 = function() | 23 | local lane3 = function() |
| 24 | lane_threadname("lane3") | 24 | lane_threadname("lane3") |
| 25 | -- this one cooperates too, because of the hook cancellation modes that Lanes will be using | 25 | -- this one cooperates too, because of the hook cancellation modes that Lanes will be using |
| 26 | -- but not with LuaJIT, because the function is compiled, and we don't call anyone, so no hook triggers | ||
| 27 | local fixture = require "fixture" | 26 | local fixture = require "fixture" |
| 28 | repeat until fixture.give_me_back(false) | 27 | repeat until fixture.give_me_back(false) |
| 29 | end | 28 | end |
