summary refs log tree commit diff stats
path: root/tests/stdlib/t10231.nim
blob: 3d09721aaed3d7b42df6d2724f6a63016d4cf5c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
discard """
  targets: "cpp"
  action: run
  exitcode: 0
"""

import os
import std/assertions

# consider moving this inside tosproc (taking care that it's for cpp mode)

if paramCount() == 0:
  # main process
  doAssert execShellCmd(getAppFilename().quoteShell & " test") == 1
else:
  quit 1