aboutsummaryrefslogtreecommitdiff
path: root/adapters/gtest/adapter.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 00:02:31 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 00:02:31 -0500
commit287d029975b7718109f81b480079f375f7d8700a (patch)
tree2324f902ebc59ffda5afa2e7506e3fa0ac9b51b3 /adapters/gtest/adapter.go
parentd078f6dc10eb265a5d88cd96adf86173d6d3ba2e (diff)
downloadplanr-287d029975b7718109f81b480079f375f7d8700a.tar.xz
planr-287d029975b7718109f81b480079f375f7d8700a.zip
Add clean option and fix issue with dir propegation
Diffstat (limited to 'adapters/gtest/adapter.go')
-rw-r--r--adapters/gtest/adapter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/adapters/gtest/adapter.go b/adapters/gtest/adapter.go
index 9331cf7..415d823 100644
--- a/adapters/gtest/adapter.go
+++ b/adapters/gtest/adapter.go
@@ -19,8 +19,8 @@ const GTEST_CMAKE = "CMakeLists.txt"
func makeUnit(tc *planr.TestCase, dirs planr.DirConfig) cmakeUnit {
cfg := tc.AdapterConfig().(*GtestConfig)
- testpath := path.Join(dirs.TestsDir(), *cfg.Testfile)
- srclist := cfg.srcList(dirs.SrcDir())
+ testpath := path.Join(dirs.Tests(), *cfg.Testfile)
+ srclist := cfg.srcList(dirs.Src())
return cmakeUnit {
tc.Cname,