mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
* make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
17 lines
293 B
Nim
17 lines
293 B
Nim
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
|