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
commit 96930b9cae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ Options
* ``--print`` Also print results to the console * ``--print`` Also print results to the console
* ``--simulate`` See what tests would be run but don't run them (for debugging) * ``--simulate`` See what tests would be run but don't run them (for debugging)
* ``--failing`` Only show failing/ignored tests * ``--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``) * ``--nim:path`` Use a particular nim executable (default: ``$PATH/nim``)
* ``--directory:dir`` Change to directory dir before reading the tests or doing anything else. * ``--directory:dir`` Change to directory dir before reading the tests or doing anything else.
* ``--colors:on|off`` Turn messages coloring on|off. * ``--colors:on|off`` Turn messages coloring on|off.

View file

@ -41,7 +41,7 @@ Options:
--print also print results to the console --print also print results to the console
--simulate see what tests would be run but don't run them (for debugging) --simulate see what tests would be run but don't run them (for debugging)
--failing only show failing/ignored tests --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) --nim:path use a particular nim executable (default: $$PATH/nim)
--directory:dir Change to directory dir before reading the tests or doing anything else. --directory:dir Change to directory dir before reading the tests or doing anything else.
--colors:on|off Turn messages coloring on|off. --colors:on|off Turn messages coloring on|off.

View file

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

View file

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

View file

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