https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109

H.J. Lu <hjl.tools at gmail dot com> 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 <hjl.tools at gmail dot com> ---
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
     }

Reply via email to