diff --git a/test/acl_event_test.cpp b/test/acl_event_test.cpp index eec5d763..4922ada4 100644 --- a/test/acl_event_test.cpp +++ b/test/acl_event_test.cpp @@ -24,6 +24,8 @@ #include #include +#include + #include "acl_test.h" MT_TEST_GROUP(acl_event) { @@ -899,8 +901,9 @@ MT_TEST(acl_event_default_config, event_dependency_exec_order) { // Internally consistent event profile. // Recall the example HAL bumps up the timestamp on every call. CHECK(queued_times[i] < submit_times[i]); - acl_print_debug_msg(" Event[%d] times = { %d %d %d %d }\n", i, - queued_times[i], submit_times[i], start_times[i], + acl_print_debug_msg(" Event[%d] times = { %" PRIu64 " %" PRIu64 + " %" PRIu64 " %" PRIu64 " }\n", + i, queued_times[i], submit_times[i], start_times[i], end_times[i]); CHECK(submit_times[i] < start_times[i]); CHECK(start_times[i] < end_times[i]); @@ -915,7 +918,7 @@ MT_TEST(acl_event_default_config, event_dependency_exec_order) { // Check separation between dependent events. // That is, they actually waited for the prior events. - CHECK(end_times[i - 1] < submit_times[i]); + CHECK(submit_times[i] > end_times[i - 1]); } }