aboutsummaryrefslogtreecommitdiff
path: root/testcase.go
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-09-05 00:37:23 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-09-05 00:37:23 -0500
commitd4f9c927e0efad402e1dbfded1a850fb9e0030e6 (patch)
tree43f7440876e61bbab71258f02e01fec3a3540691 /testcase.go
parent80c205a1d6d25f5a80853a76afcd1f527a894f56 (diff)
Refactor gtest adapter to fit new pipeline
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 {