From 3337257fe24b67871406217e98862d34647dd725 Mon Sep 17 00:00:00 2001 From: Flu0r1ne Date: Fri, 13 Aug 2021 16:31:04 -0500 Subject: Add colorized output and build traces --- testcase.go | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'testcase.go') diff --git a/testcase.go b/testcase.go index 989838c..d3fe8ed 100644 --- a/testcase.go +++ b/testcase.go @@ -1,8 +1,18 @@ package planr +type TestStatus uint + +const ( + PASSING TestStatus = iota + COMPILATION_FAILURE + RUNTIME_FAILURE +) + type TestResult struct { - Id string - Pass bool + Id string + Status TestStatus + FailureMsg string + DebugOutput string } type TestCase struct { @@ -18,6 +28,7 @@ type TestCase struct { Config TestCaseConfig Result *TestResult + } func (tc TestCase) AdapterConfig() InheritableConfig { -- cgit v1.2.3