summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-02-21 21:03:36 +0100
committerAraq <rumpf_a@web.de>2012-02-21 21:03:36 +0100
commit96e7ee91cced216e287b9dadb6eec97147347989 (patch)
tree954ff8793e349ead3c433a2d8b3629569a8189ba /tests
parent38eafd30ae87463a2dc844d19b23c30ba2a8cd19 (diff)
downloadNim-96e7ee91cced216e287b9dadb6eec97147347989.tar.gz
added docgen.rst2html for the forum; fixed tester bug concerning removeDir
Diffstat (limited to 'tests')
-rw-r--r--tests/specials.nim8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/specials.nim b/tests/specials.nim
index d10452b98..05eda6061 100644
--- a/tests/specials.nim
+++ b/tests/specials.nim
@@ -15,7 +15,13 @@
 const
   rodfilesDir = "tests/rodfiles"
 
-proc delNimCache() = removeDir(rodfilesDir / "nimcache")
+proc delNimCache() = 
+  let dir = rodfilesDir / "nimcache"
+  try:
+    removeDir(dir)
+  except EOS:
+    echo "[Warning] could not delete: ", dir
+    
 proc plusCache(options: string): string = return options & " --symbolFiles:on"
 
 proc runRodFiles(r: var TResults, options: string) =