mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 14:03:23 +00:00
targets: use cpp instead of c++ everywhere (was by far the most common) (#15961)
This commit is contained in:
@@ -26,7 +26,7 @@ Options
|
||||
* ``--print`` Also print results to the console
|
||||
* ``--simulate`` See what tests would be run but don't run them (for debugging)
|
||||
* ``--failing`` Only show failing/ignored tests
|
||||
* ``--targets:"c c++ js objc"`` Run tests for specified targets (default: all)
|
||||
* ``--targets:"c cpp js objc"`` Run tests for specified targets (default: all)
|
||||
* ``--nim:path`` Use a particular nim executable (default: ``$PATH/nim``)
|
||||
* ``--directory:dir`` Change to directory dir before reading the tests or doing anything else.
|
||||
* ``--colors:on|off`` Turn messages coloring on|off.
|
||||
|
||||
@@ -41,7 +41,7 @@ Options:
|
||||
--print also print results to the console
|
||||
--simulate see what tests would be run but don't run them (for debugging)
|
||||
--failing only show failing/ignored tests
|
||||
--targets:"c c++ js objc" run tests for specified targets (default: all)
|
||||
--targets:"c cpp js objc" run tests for specified targets (default: all)
|
||||
--nim:path use a particular nim executable (default: $$PATH/nim)
|
||||
--directory:dir Change to directory dir before reading the tests or doing anything else.
|
||||
--colors:on|off Turn messages coloring on|off.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
targets: "c c++ js"
|
||||
targets: "c cpp js"
|
||||
output: "ok"
|
||||
exitcode: "0"
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
file: "passenv.nim"
|
||||
output: "123"
|
||||
targets: "c c++ objc"
|
||||
targets: "c cpp objc"
|
||||
"""
|
||||
|
||||
import osproc, os, strtabs
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
targets: "js c c++"
|
||||
targets: "js c cpp"
|
||||
output: '''ok'''
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user