Fix name of generated C file in tester
- Makes tests/ccgbugs/tmissingvolatile work again
This commit is contained in:
parent
be33e55518
commit
c58573b34a
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ proc cmpMsgs(r: var TResults, expected, given: TSpec, test: TTest) =
|
|||
proc generatedFile(path, name: string, target: TTarget): string =
|
||||
let ext = targetToExt[target]
|
||||
result = path / "nimcache" /
|
||||
(if target == targetJS: path.splitPath.tail & "_" else: "") &
|
||||
(if target == targetJS: path.splitPath.tail & "_" else: "compiler_") &
|
||||
name.changeFileExt(ext)
|
||||
|
||||
proc codegenCheck(test: TTest, check: string, given: var TSpec) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue