aboutsummaryrefslogtreecommitdiff
path: root/testcase.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-05 00:37:23 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-05 00:37:23 -0500
commit151d516e68f5d43aa2d0c5ff462752d640b6a614 (patch)
tree6d12582bb6fdea41434ad02be89cc18824c5b80b /testcase.go
parentcc7ba659adbc5ad55e1ce67f76952f2b8392c9c9 (diff)
downloadplanr-151d516e68f5d43aa2d0c5ff462752d640b6a614.tar.xz
planr-151d516e68f5d43aa2d0c5ff462752d640b6a614.zip
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 {