From 96e7ee91cced216e287b9dadb6eec97147347989 Mon Sep 17 00:00:00 2001 From: Araq <rumpf_a@web.de> Date: Tue, 21 Feb 2012 21:03:36 +0100 Subject: added docgen.rst2html for the forum; fixed tester bug concerning removeDir --- tests/specials.nim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') 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) = -- cgit 1.4.1-2-gfad0