functional-lang: regeneration occurs in build/ #836

Closed
opened 2025-05-20 16:04:27 +00:00 by raito · 3 comments
Owner

Describe the bug

When I touch the language and I want to regenerate the golden tests, I cannot find the diff files in Git.

Steps To Reproduce

  1. Touch the language in a way that makes lang tests fails.
  2. Run the _NIX_TEST_ACCEPT=1 just test --suite installcheck -v functional-lang
  3. git status
  4. See nothing.

Expected behavior

Things should appear in my Git index.

nix --version output

2.94.0-dev

Additional context

The lang golden tests ends up in build/ instead.

## Describe the bug When I touch the language and I want to regenerate the golden tests, I cannot find the diff files in Git. ## Steps To Reproduce 1. Touch the language in a way that makes `lang` tests fails. 2. Run the `_NIX_TEST_ACCEPT=1 just test --suite installcheck -v functional-lang` 3. `git status` 4. See nothing. ## Expected behavior Things should appear in my Git index. ## `nix --version` output 2.94.0-dev ## Additional context The lang golden tests ends up in `build/` *instead*.
Member

eeh, this kindof is on the "wontfix" scale, at least from my side, given that #825 is very much on the horizon progressing well and not exhibiting this issue by design. The canonical workaround is cp build/tests/functional/lang/*.exp tests/functional/lang.

eeh, this kindof is on the "wontfix" scale, at least from my side, given that #825 is very much on the horizon progressing well and not exhibiting this issue by design. The canonical workaround is `cp build/tests/functional/lang/*.exp tests/functional/lang`.
Author
Owner

As it is a WONTFIX, I will close but people can still find it and know about the workaround.

As it is a WONTFIX, I will close but people can still find it and know about the workaround.
raito closed this issue 2025-05-22 18:28:30 +00:00
Member

Update: functional2/lang now is functional, and functional/lang is deprecated and should not be used for new tests anymore

Update: `functional2/lang` now is functional, and `functional/lang` is deprecated and should not be used for new tests anymore
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#836
No description provided.