targets: use cpp instead of c++ everywhere (was by far the most common) (#15961)

This commit is contained in:
Timothee Cour
2020-11-14 01:08:15 -08:00
committed by GitHub
parent 1a47fc2291
commit 96930b9cae
5 changed files with 5 additions and 5 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -1,5 +1,5 @@
discard """
targets: "c c++ js"
targets: "c cpp js"
output: "ok"
exitcode: "0"
"""

View File

@@ -1,7 +1,7 @@
discard """
file: "passenv.nim"
output: "123"
targets: "c c++ objc"
targets: "c cpp objc"
"""
import osproc, os, strtabs

View File

@@ -1,5 +1,5 @@
discard """
targets: "js c c++"
targets: "js c cpp"
output: '''ok'''
"""