runtimeverification / runtimeverification/haskell-backend

`make golden` doesn't work correctly

Open
#3,528 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
224
Forks
43
PR merge metrics
No merged PRs in 30d

Description

make golden does not work correctly in some cases. In particular some golden-files become empty. And in some of them some lines are removed. For instance:

 Kore (0)> ProveSteps 100
 Stopped after 2 step(s) due to reaching end of proof on current branch.

 #Top

becomes:

 Kore (0)> ProveSteps 100
 #Top

These changes break integration tests.
One more problem occurs: Makefile in test/rpc-server directory does not contain golden goal. This breaks the generation process.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running make golden and inspect the golden-file generation used by the integration tests. Check test/rpc-server/Makefile, which the issue identifies as missing the golden goal, and compare generated files with their expected content. Done means generation preserves the reported lines, does not create empty files, and the integration tests no longer break.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.