From: Vladimir Mezentsev Date: Thu, 3 Aug 2023 19:56:54 +0000 (-0700) Subject: gprofng: 30700 tmpdir/gp-collect-app_F test fails X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0282cf1284b4d358892427a6b4f60d6f4c0580b;p=binutils-gdb.git gprofng: 30700 tmpdir/gp-collect-app_F test fails gprofng/ChangeLog 2023-08-03 Vladimir Mezentsev PR gprofng/30700 * testsuite/gprofng.display/gp-collect-app_F.exp: Fix -name argument for sub-experiment filtering. --- diff --git a/gprofng/testsuite/gprofng.display/gp-collect-app_F.exp b/gprofng/testsuite/gprofng.display/gp-collect-app_F.exp index f791b0f7a95..02bcc8e5b49 100644 --- a/gprofng/testsuite/gprofng.display/gp-collect-app_F.exp +++ b/gprofng/testsuite/gprofng.display/gp-collect-app_F.exp @@ -46,11 +46,11 @@ proc run_gp_collect_app { subExpCnt F_opt } { return -code break } - set output [run_native_host_cmd "find $tdir -name '*x1.er' | wc -l"] + set output [run_native_host_cmd "find $tdir -name '*_x?.er' | wc -l"] set subExp [lindex $output 1] if { $subExp != $subExpCnt } then { set out [lindex $output 1] - send_log "Test failed for -F $F_opt. subExp=$subExp. Shold be $subExpCnt\n" + send_log "Test failed for -F $F_opt. subExp=$subExp. Should be $subExpCnt\n" fail $tdir return -code break }