diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-04-20 15:19:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-20 15:19:02 +0200 |
commit | 0121dda9ba903b764cbd234667cc03f79ebadf44 (patch) | |
tree | 6ffcdfa6b68c3f3acc3ed67f9dcc9218b4e2377b /testament/tester.nim | |
parent | 44ec66bd484e7cf952c20493a30cf1b29d49e3ca (diff) | |
download | Nim-0121dda9ba903b764cbd234667cc03f79ebadf44.tar.gz |
remove the restriction that module names need to be unique per Nimble… (#11064)
* remove the restriction that module names need to be unique per Nimble package * make tests green again * use the 'response' linker file also on Unix in order to fix megatest
Diffstat (limited to 'testament/tester.nim')
-rw-r--r-- | testament/tester.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/tester.nim b/testament/tester.nim index 1df08aa34..5b1d327c8 100644 --- a/testament/tester.nim +++ b/testament/tester.nim @@ -320,7 +320,7 @@ proc generatedFile(test: TTest, target: TTarget): string = let (_, name, _) = test.name.splitFile let ext = targetToExt[target] result = nimcacheDir(test.name, test.options, target) / - ("compiler_" & name.changeFileExt(ext)) + name.replace("_", "__").changeFileExt(ext) proc needsCodegenCheck(spec: TSpec): bool = result = spec.maxCodeSize > 0 or spec.ccodeCheck.len > 0 |