mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Add new functionality to load SIP from file
Related-To: NEO-5718 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f83b51e628
commit
902cce597a
@@ -54,10 +54,6 @@ extern const char *executionDirectorySuffix;
|
||||
|
||||
std::thread::id tempThreadID;
|
||||
|
||||
namespace MockSipData {
|
||||
extern std::unique_ptr<MockSipKernel> mockSipKernel;
|
||||
}
|
||||
|
||||
namespace PagaFaultManagerTestConfig {
|
||||
bool disabled = false;
|
||||
}
|
||||
@@ -160,8 +156,11 @@ void handle_SIGABRT(int sig_no) {
|
||||
}
|
||||
#endif
|
||||
|
||||
void initializeTestHelpers() {
|
||||
void initializeTestHelpers(TestMode currentTestmode) {
|
||||
MockSipData::mockSipKernel.reset(new MockSipKernel());
|
||||
if (currentTestmode == TestMode::AubTests || currentTestmode == TestMode::AubTestsWithTbx) {
|
||||
MockSipData::useMockSip = false;
|
||||
}
|
||||
}
|
||||
|
||||
void cleanTestHelpers() {
|
||||
@@ -465,7 +464,7 @@ int main(int argc, char **argv) {
|
||||
} else {
|
||||
GmmInterface::initialize(nullptr, nullptr);
|
||||
}
|
||||
initializeTestHelpers();
|
||||
initializeTestHelpers(testMode);
|
||||
|
||||
retVal = RUN_ALL_TESTS();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user