diff --git a/ci/Test.luau b/ci/Test.luau index cb01868f..cae06fcc 100644 --- a/ci/Test.luau +++ b/ci/Test.luau @@ -159,11 +159,12 @@ function Test.run(ancestors: { Instance }) end Output(res.Group, 0) end - print(table.concat(output, "\n")) + local outputTxt = table.concat(output, "\n") return { Results = results, AllPass = allPass, + Output = outputTxt, } end diff --git a/run_tests.py b/run_tests.py index be6bc283..bca06b9c 100644 --- a/run_tests.py +++ b/run_tests.py @@ -44,11 +44,11 @@ def run_tests(): if state == "CANCELLED": exit(1) elif state == "COMPLETE": - print(res_json) - - # TODO: Format 'res_json' in a pretty way to show what failed and what succeeded + result = res_json["output"]["results"][0] + all_pass = result["AllPass"] + + print(result["Output"]) - all_pass = res_json["output"]["results"][0]["AllPass"] if not all_pass: exit(1)