copy server.dll too?

This commit is contained in:
Aman Gupta 2015-10-08 11:00:02 -07:00
commit c3415a27d7

View file

@ -82,6 +82,8 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
when defined(Windows): when defined(Windows):
# windows looks in the dir of the exe (yay!): # windows looks in the dir of the exe (yay!):
var serverDll = DynlibFormat % "server"
safeCopyFile("lib" / serverDll, "tests/dll" / serverDll)
var nimrtlDll = DynlibFormat % "nimrtl" var nimrtlDll = DynlibFormat % "nimrtl"
safeCopyFile("lib" / nimrtlDll, "tests/dll" / nimrtlDll) safeCopyFile("lib" / nimrtlDll, "tests/dll" / nimrtlDll)
else: else: