mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Correct return value of clUnloadCompiler and clUnloadPlatformCompiler API calls. Change-Id: I352b271e9f97be88cf29c4a097aa2e664ba3206a Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
20 lines
318 B
C++
20 lines
318 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "test.h"
|
|
|
|
using namespace NEO;
|
|
|
|
namespace ULT {
|
|
|
|
TEST(clUnloadCompilerTests, WhenUnloadingCompilerThenSuccessIsReturned) {
|
|
auto retVal = clUnloadCompiler();
|
|
EXPECT_EQ(CL_SUCCESS, retVal);
|
|
}
|
|
|
|
} // namespace ULT
|