mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix for Metric Api test that attempts OS (fstat) function.
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d182d77a41
commit
08210f8be5
@ -544,6 +544,12 @@ TEST(SysCalls, WhenSysCallsPollCalledThenCallIsRedirectedToOs) {
|
||||
EXPECT_EQ(0, result);
|
||||
}
|
||||
|
||||
TEST(SysCalls, WhenSysCallsFstatCalledThenCallIsRedirectedToOs) {
|
||||
struct stat st = {};
|
||||
auto result = NEO::SysCalls::fstat(0, &st);
|
||||
EXPECT_EQ(0, result);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
bool useDefaultListener = false;
|
||||
|
||||
|
Reference in New Issue
Block a user