mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Create interaction test harness. (#27643)
* Create interaction test harness. * retrofit tests, add janicart attack chain tests * extract puppeteer to separate file * move puppeteer creation to constructor
This commit is contained in:
@@ -70,7 +70,15 @@
|
||||
|
||||
if(!test.succeeded)
|
||||
failed_any_test = TRUE
|
||||
test_logs[I] += test.fail_reasons
|
||||
for(var/fail_reason in test.fail_reasons)
|
||||
if(islist(fail_reason))
|
||||
var/text = fail_reason[1]
|
||||
var/file = fail_reason[2]
|
||||
var/line = fail_reason[3]
|
||||
|
||||
test_logs[I] += "[file]:[line]: [text]"
|
||||
else
|
||||
test_logs[I] += fail_reason
|
||||
|
||||
qdel(test)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user