aboutgitcodebugslistschat
path: root/test/lib/perf_report
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-09-24 00:09:23 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-09-24 00:09:23 +0200
commit2e93cb6ed86053a13630306b1135332a3ebaf160 (patch)
tree8eda08e1f256d0795f01dcf303b0872252f09d29 /test/lib/perf_report
parentb3549093f7a3e9e9b7688df95740ea0467bb5861 (diff)
downloadpasst-2e93cb6ed86053a13630306b1135332a3ebaf160.tar
passt-2e93cb6ed86053a13630306b1135332a3ebaf160.tar.gz
passt-2e93cb6ed86053a13630306b1135332a3ebaf160.tar.bz2
passt-2e93cb6ed86053a13630306b1135332a3ebaf160.tar.lz
passt-2e93cb6ed86053a13630306b1135332a3ebaf160.tar.xz
passt-2e93cb6ed86053a13630306b1135332a3ebaf160.tar.zst
passt-2e93cb6ed86053a13630306b1135332a3ebaf160.zip
test/lib: Drop perf_report_append() from perf_report
It's not used anymore. While at it, fix the function name in the comment to perf_report_append_js(). Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/perf_report')
-rwxr-xr-xtest/lib/perf_report7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/lib/perf_report b/test/lib/perf_report
index 8fd0588..46454d1 100755
--- a/test/lib/perf_report
+++ b/test/lib/perf_report
@@ -192,12 +192,7 @@ perf_report_sub() {
sed -i 's/__'"${__et}"'__/'"${__es}"'/g' "${PERF_JS}"
}
-# perf_report_append() - Append generic string to current JavaScript report
-perf_report_append() {
- echo "${@}" >> "${PERF_JS}"
-}
-
-# perf_report_append() - Append generic string to current template buffer
+# perf_report_append_js() - Append generic string to current template buffer
perf_report_append_js() {
PERF_TEMPLATE_JS="${PERF_TEMPLATE_JS}${@}"
}