mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
add ocloc versioning
Adds versioning of ocloc and new api function returning ocloc version.
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c3083592ad
commit
903ed4e6d4
@@ -19,6 +19,10 @@ extern Environment *gEnvironment;
|
||||
|
||||
using namespace std::string_literals;
|
||||
|
||||
TEST(OclocApiTests, WhenOclocVersionIsCalledThenCurrentOclocVersionIsReturned) {
|
||||
EXPECT_EQ(ocloc_version_t::OCLOC_VERSION_CURRENT, oclocVersion());
|
||||
}
|
||||
|
||||
TEST(OclocApiTests, WhenGoodArgsAreGivenThenSuccessIsReturned) {
|
||||
const char *argv[] = {
|
||||
"ocloc",
|
||||
|
||||
Reference in New Issue
Block a user