[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109

Martin Liška  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #4 from Martin Liška  ---
Fixed, thanks for the report.

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109

--- Comment #3 from CVS Commits  ---
The master branch has been updated by Martin Liska :

https://gcc.gnu.org/g:b01d2059c703d447827cc82e0e27e460a38bfa9f

commit r12-6718-gb01d2059c703d447827cc82e0e27e460a38bfa9f
Author: Martin Liska 
Date:   Wed Jan 19 07:37:42 2022 +0100

testsuite: fix pytest detection unsupported message.

PR testsuite/104109

gcc/testsuite/ChangeLog:

* lib/gcov.exp: Fix pytest detection unsupported message.

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109

Martin Liška  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|mliska at suse dot cz  |marxin at gcc dot 
gnu.org

--- Comment #2 from Martin Liška  ---
Mine.

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109

H.J. Lu  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|[12 Regression] ERROR:  |[12 Regression] ERROR:
   |g++.dg/gcov/gcov-17.C  :|g++.dg/gcov/gcov-17.C  :
   |error executing dg-final:   |error executing dg-final:
   |can't read "script": no |can't read "script": no
   |such variable   |such variable by r12-6629
   Last reconfirmed||2022-01-19
 Ever confirmed|0   |1

--- Comment #1 from H.J. Lu  ---
r12-6629 has

@@ -274,11 +276,8 @@ proc run-gcov-pytest { args } {
 set testcase [remote_download host $testcase]
 set result [remote_exec host $GCOV "$testcase -i"]

-set pytest_cmd "python3 -m pytest --color=no -rap -s --tb=no"
-set result [remote_exec host "$pytest_cmd --version"]
-set status [lindex $result 0]
-if { $status != 0 } then {
-  unsupported "$subdir/$testcase run-gcov-pytest python3 pytest missing"
+if { ![check_effective_target_pytest3] } {
+  unsupported "$script pytest python3 is missing"
^^^ Never defined.
   return
 }