diff --git a/tests/DMAPI/BasicOperation/Test.dm b/tests/DMAPI/BasicOperation/Test.dm index d39bacedc3..24021780bc 100644 --- a/tests/DMAPI/BasicOperation/Test.dm +++ b/tests/DMAPI/BasicOperation/Test.dm @@ -1,21 +1,30 @@ /world/New() + log << "About to call TgsNew()" TgsNew(minimum_required_security_level = TGS_SECURITY_SAFE) + log << "About to call StartAsync()" StartAsync() /proc/StartAsync() set waitfor = FALSE + world.log << "First sleep" sleep(50) + world.log << "Priming..." world.TgsInitializationComplete() + world.log << "Second sleep" sleep(50) + world.log << "Validating API sleep" // Validate TGS_DMAPI_VERSION against DMAPI version used var/datum/tgs_version/active_version = world.TgsApiVersion() var/datum/tgs_version/dmapi_version = new /datum/tgs_version(TGS_DMAPI_VERSION) if(!active_version.Equals(dmapi_version)) text2file("DMAPI version [TGS_DMAPI_VERSION] does not match active API version [active_version.raw_parameter]", "test_fail_reason.txt") + world.log << "Terminating..." world.TgsEndProcess() + world.log << "You really shouldn't be able to read this" + /world/Topic(T, Addr, Master, Keys) TGS_TOPIC