aboutsummaryrefslogtreecommitdiff
path: root/testcase.go
diff options
context:
space:
mode:
Diffstat (limited to 'testcase.go')
-rw-r--r--testcase.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/testcase.go b/testcase.go
index 7e0bf17..19f1e58 100644
--- a/testcase.go
+++ b/testcase.go
@@ -7,7 +7,8 @@ import (
type TestStatus uint
const (
- PASSING TestStatus = iota
+ NOT_RUN TestStatus = iota
+ PASSING
COMPILATION_FAILURE
RUNTIME_FAILURE
)
@@ -17,6 +18,7 @@ type TestResult struct {
Status TestStatus
DebugOutput string
TestOutput string
+ Tc TestCase
}
// Program-wide testcase config
@@ -43,9 +45,6 @@ type TestCase struct {
Cname string
Config TestCaseConfig
-
- Result *TestResult
-
}
func (tc TestCase) AdapterConfig() InheritableConfig {