Files
Bubberstation/code/modules/unit_tests/byond_status.dm
Bloop 32d188f17b [MISSED MIRROR] Include temporary library for getting sleeping procs (#77773) (#23258)
* Include temporary library for getting sleeping procs (#77773)

@LemonInTheDark wanted this to be able to hunt down the progress bar
hard dels.

Code is here:
https://gist.github.com/Mothblocks/06b415afd75672fb03637804435350d2

Intended to be reverted once we figure out the issue, or if we realize
it's not related. This library is not stable.

* Update tgstation.dme

---------

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2023-08-22 17:18:58 -04:00

10 lines
300 B
Plaintext

/// Tests the SUPPOSED TO BE TEMPORARY byond_status() proc for a useful format
/datum/unit_test/byond_status
/datum/unit_test/byond_status/Run()
if (world.system_type != UNIX)
return
var/status = byond_status()
TEST_ASSERT(findtext(status, "Sleeping procs"), "Invalid byond_status: [status]")