Add pytest for a GCOV test-case
authorMartin Liska <mliska@suse.cz>
Mon, 21 Dec 2020 08:14:28 +0000 (09:14 +0100)
committerMartin Liska <mliska@suse.cz>
Mon, 11 Jan 2021 08:18:53 +0000 (09:18 +0100)
commit4e275dccfc2467b3fe39012a3dd2a80bac257dd0
tree9fd69b27e1ffdffec4501d0143de8e212fb148a5
parentfa4586d8545f9730f9acdba8978b69f7cc026bb6
Add pytest for a GCOV test-case

gcc/testsuite/ChangeLog:

PR gcov-profile/98273
* lib/gcov.exp: Add run-gcov-pytest function which runs pytest.
* g++.dg/gcov/pr98273.C: New test.
* g++.dg/gcov/gcov.py: New test.
* g++.dg/gcov/test-pr98273.py: New test.
gcc/testsuite/g++.dg/gcov/gcov.py [new file with mode: 0644]
gcc/testsuite/g++.dg/gcov/pr98273.C [new file with mode: 0644]
gcc/testsuite/g++.dg/gcov/test-pr98273.py [new file with mode: 0644]
gcc/testsuite/lib/gcov.exp