[Git][ghc/ghc][wip/jeltsch/textual-bytecode-output] Replace HPC information hash by `@hash@` in test output
Wolfgang Jeltsch pushed to branch wip/jeltsch/textual-bytecode-output at Glasgow Haskell Compiler / GHC Commits: 58e096cc by Wolfgang Jeltsch at 2026-07-29T23:32:47+03:00 Replace HPC information hash by `@hash@` in test output - - - - - 2 changed files: - testsuite/tests/show-bytecode/Makefile - testsuite/tests/show-bytecode/show-bytecode-hpc.stdout Changes: ===================================== testsuite/tests/show-bytecode/Makefile ===================================== @@ -6,7 +6,8 @@ compile = '$(TEST_HC)' $(TEST_HC_OPTS) -fbyte-code -fwrite-byte-code -no-link show = '$(TEST_HC)' $(TEST_HC_OPTS) --show-byte-code normalize = sed -E -e ' \ s/_r[[:alnum:]]+/_@name_suffix@/g; \ - s/[[:xdigit:]]{32}/@hash@/g; \ + s/^( *hash: )[[:xdigit:]]+/\1@hash@/g; \ + s/^( *)[[:xdigit:]]+:/\1@hash@:/g; \ s/word [[:digit:]]{4}[[:digit:]]*/word @large_word@/ \ ' ===================================== testsuite/tests/show-bytecode/show-bytecode-hpc.stdout ===================================== @@ -661,7 +661,7 @@ static-pointer table entries: @hash@: static_ptr @hash@: static_ptr1 HPC information: - hash: 000000006110204f + hash: @hash@ module name: Example tick box name: _hpc_tickboxes_Example_hpc number of ticks: 45 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/58e096ccdf89e8a7f413b6c5fc3fca36... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/58e096ccdf89e8a7f413b6c5fc3fca36... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Wolfgang Jeltsch (@jeltsch)