summaryrefslogtreecommitdiff
path: root/adapters/gtest/adapter.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-06 14:12:08 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-06 14:12:08 -0500
commit9138bf659ccf80a6e6c414bab592214119788347 (patch)
tree3755d6288303d5e3ed990b373dd81f59630e437d /adapters/gtest/adapter.go
parentb3efa2051e3b0edf4001afa326c5bf8b1268f4fe (diff)
downloaddeb-planr-9138bf659ccf80a6e6c414bab592214119788347.tar.xz
deb-planr-9138bf659ccf80a6e6c414bab592214119788347.zip
Precompiler gtest and gmock libraries to stop threads from trampling on one another
Diffstat (limited to 'adapters/gtest/adapter.go')
-rw-r--r--adapters/gtest/adapter.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/adapters/gtest/adapter.go b/adapters/gtest/adapter.go
index bcd5a68..96b6976 100644
--- a/adapters/gtest/adapter.go
+++ b/adapters/gtest/adapter.go
@@ -53,6 +53,12 @@ func (adapter Adapter) Build(tcs []planr.TestCase) {
cmd.Dir = adapter.buildDir
planr.Exec(cmd)
+
+ cmd = exec.Command("make", "gtest", "gmock")
+
+ cmd.Dir = adapter.buildDir
+
+ planr.Exec(cmd)
}
func (adapter *Adapter) Evaluate(tcs []planr.TestCase) [] planr.TestResult {