aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoey Yakimowich-Payne <jyapayne@gmail.com>2020-04-29 19:15:11 -0600
committergenotrance <dev@genotrance.com>2020-05-04 16:43:07 -0500
commit1e105d34a49469b9c37ecbd38032765dbef96049 (patch)
tree340b3a842a78fee1578b837b2cbf53d4d91ad983 /tests
parent31bea0f032adca25bcb836fcbd7f4cb2f00d78ba (diff)
downloadnimterop-1e105d34a49469b9c37ecbd38032765dbef96049.tar.gz
nimterop-1e105d34a49469b9c37ecbd38032765dbef96049.zip
Add docgen runs in tests
Fix paths import Skip docgen for rsa for now
Diffstat (limited to 'tests')
-rw-r--r--tests/tnimterop_c.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tnimterop_c.nim b/tests/tnimterop_c.nim
index 20c1678..ef814ea 100644
--- a/tests/tnimterop_c.nim
+++ b/tests/tnimterop_c.nim
@@ -1,4 +1,6 @@
import std/unittest
+import os
+import macros
import nimterop/cimport
import nimterop/paths
@@ -10,7 +12,7 @@ cDefine("FORCE")
cIncludeDir testsIncludeDir()
cCompile cSearchPath("test.c")
-cPluginPath("tests/tnimterop_c_plugin.nim")
+cPluginPath(getProjectPath() / "tnimterop_c_plugin.nim")
cOverride:
type