summaryrefslogtreecommitdiff
path: root/adapters
diff options
context:
space:
mode:
Diffstat (limited to 'adapters')
-rw-r--r--adapters/gtest/adapter.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/adapters/gtest/adapter.go b/adapters/gtest/adapter.go
index 415d823..0a955ef 100644
--- a/adapters/gtest/adapter.go
+++ b/adapters/gtest/adapter.go
@@ -188,8 +188,7 @@ func (adapter *GtestAdapter) Evaluate(tcs []*planr.TestCase) {
// compilation failure
if !ok {
- fmt.Printf("CAN'T FIND %s: status %d\n", tc.Cname, tc.Result.Status)
-
+
if tc.Result.Status == planr.PASSING {
cfg := tc.AdapterConfig().(*GtestConfig)
@@ -214,3 +213,7 @@ func (adapter *GtestAdapter) Evaluate(tcs []*planr.TestCase) {
tc.Result.TestOutput = result.testOutput
}
}
+
+func New() *GtestAdapter {
+ return new(GtestAdapter)
+}