diff options
Diffstat (limited to 'offload/unittests/OffloadAPI/queue/olWaitQueue.cpp')
| -rw-r--r-- | offload/unittests/OffloadAPI/queue/olWaitQueue.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/offload/unittests/OffloadAPI/queue/olWaitQueue.cpp b/offload/unittests/OffloadAPI/queue/olWaitQueue.cpp new file mode 100644 index 000000000000..07ef774583ae --- /dev/null +++ b/offload/unittests/OffloadAPI/queue/olWaitQueue.cpp @@ -0,0 +1,17 @@ +//===------- Offload API tests - olWaitQueue ------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "../common/Fixtures.hpp" +#include <OffloadAPI.h> +#include <gtest/gtest.h> + +using olWaitQueueTest = OffloadQueueTest; + +TEST_F(olWaitQueueTest, SuccessEmptyQueue) { + ASSERT_SUCCESS(olWaitQueue(Queue)); +} |
