fix: Better IR file format ext handling

This fix makes ocloc honor IR file format when picking
extension for the output file.
Additionally, this commit removes reduntant IR output when
compiling from IR.

Related-To: NEO-15876

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
Chodor, Jaroslaw
2025-09-12 11:12:38 +00:00
committed by Compute-Runtime-Automation
parent 36237d7e9f
commit a0407ff72a
5 changed files with 61 additions and 4 deletions

View File

@@ -12,6 +12,11 @@
using NEO::Hash;
TEST(ToLower, GiventStringThenChangeItToLowerCase) {
std::string ls = StringHelpers::toLower("SomeTEXT");
EXPECT_STREQ("sometext", ls.c_str());
}
TEST(CreateCombinedStrings, GivenSingleStringWhenCreatingCombinedStringThenDstStringMatchesSrcString) {
std::string dstString;
size_t dstStringSizeInBytes = 0;