[+] LSTimer is signaled test after wait (checks remains latched/signaled after check if not periodic)

[*] Update deps
This commit is contained in:
Reece Wilson 2022-04-20 14:42:40 +01:00
parent 15d2e6ec3c
commit 78467d629d
4 changed files with 10 additions and 4 deletions

@ -1 +1 @@
Subproject commit 7dca8ecd29def1f1921da6fad5bb34f4a50f00a0 Subproject commit 52983989b5f426700992104101069e7f2a04fbe4

View File

@ -96,7 +96,6 @@ TEST(Loop, Timer0)
// Add initial loop sources // Add initial loop sources
ASSERT_TRUE(loop->SourceAdd(timer)); ASSERT_TRUE(loop->SourceAdd(timer));
ASSERT_TRUE(loop->Commit()); ASSERT_TRUE(loop->Commit());
} }
TEST(Loop, Timer) TEST(Loop, Timer)
@ -113,6 +112,7 @@ TEST(Loop, Timer)
// //
ASSERT_FALSE(loop->WaitAll(50)); ASSERT_FALSE(loop->WaitAll(50));
ASSERT_TRUE(loop->WaitAll(550)); ASSERT_TRUE(loop->WaitAll(550));
ASSERT_TRUE(timer->IsSignaled());
} }
TEST(Loop, Timer2) TEST(Loop, Timer2)
@ -155,6 +155,12 @@ TEST(Loop, Timer3)
ASSERT_FALSE(loop->WaitAny(100)); ASSERT_FALSE(loop->WaitAny(100));
} }
//
// Note: kernel loop queues also support async file and pipe transactions.
// See the specialized tests for loop queue related interfaces
// Support list can be seen in ELoopSource (there's quite a lot.)
//
#if 0 #if 0
TEST(Loop, Performance) TEST(Loop, Performance)
{ {

@ -1 +1 @@
Subproject commit af29db7ec28d6df1c7f0f745186884091e602e07 Subproject commit 80600e56cc9afe7ee02737429f9177aa87025054

2
Vendor/nlohmannjson vendored

@ -1 +1 @@
Subproject commit 3b16057ffaaed250cf207233f9238392ea0245ee Subproject commit a94430615d8360272151f602b8c9eeb58509ecde