mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-22 05:03:56 +00:00
Disable Trap Test on icicle
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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:";
|
||||
|
||||
Reference in New Issue
Block a user