summary refs log tree commit diff stats
path: root/tests/vm/tcompilesetting.nim
blob: 98565ab94f2c2da313df0856cbb85fb569d64880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
discard """
cmd: "nim c --nimcache:build/myNimCache --nimblePath:myNimblePath $file"
joinable: false
"""

import strutils

import std / compilesettings

const
  nc = querySetting(nimcacheDir)
  np = querySettingSeq(nimblePaths)

static:
  echo nc
  echo np

doAssert "myNimCache" in nc
doAssert "myNimblePath" in np[0]
doAssert querySetting(backend) == "c"