Disable Trap Test on icicle

This commit is contained in:
Igor Pissolati
2025-04-28 18:53:43 -03:00
parent 7a8e6dd459
commit bab8c55ed3
2 changed files with 11 additions and 1 deletions

View File

@@ -729,7 +729,10 @@ int main(const int argc, const char* argv[])
RUN_TEST(test_env, "Environment")
RUN_TEST(test_exceptions, "Exceptions")
RUN_TEST(test_native_exceptions, "Native Exceptions")
RUN_TEST(test_interrupts, "Interrupts")
if (!getenv("EMULATOR_ICICLE"))
{
RUN_TEST(test_interrupts, "Interrupts")
}
RUN_TEST(test_tls, "TLS")
RUN_TEST(test_socket, "Socket")
RUN_TEST(test_apc, "APC")

View File

@@ -108,6 +108,13 @@ namespace
}
env_map[u"EMULATOR"] = u"1";
const auto* env = getenv("EMULATOR_ICICLE");
if (env && (env == "1"sv || env == "true"sv))
{
env_map[u"EMULATOR_ICICLE"] = u"1";
}
env_map[u"COMPUTERNAME"] = u"momo";
env_map[u"USERNAME"] = u"momo";
env_map[u"SystemDrive"] = u"C:";