question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tests: Have a way to "freeze" the code used when compiling the compiler

See original GitHub issue

Some of the tests compile (part of) the compiler’s code. When debugging an issue this can be problematic because debugging might involving changing the compiler code, and thus affective the issue we’re trying to fix. It would be nice if we could temporarily freeze the code used in the tests to avoid this. One way to do that would be to make a fresh git clone of dotty somewhere else and run the tests with some option like --tests-src=../dotty-upstream.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
SethTisuecommented, Jan 11, 2022

lolcry

1reaction
smartercommented, Jan 11, 2022

I’m happy if anyone looks into our test infrastructure at all no matter what they do 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

C++ testing for compile errors - Stack Overflow
I read a post that suggests writing some test code in a scripting language that attempts to compile snippets of C++ code and...
Read more >
Test-Case Reduction for C Compiler Bugs - CS @ Utah
The existing approach to automated test-case reduction, delta debugging, works by removing substrings of the original input; the result is a concatenation of ......
Read more >
Experiment E -- "deep-freeze" code objects as static C data ...
I'm using the compile() builtin instead of reading the compiled bytecode from a file; CPython objects have in-line reference counts so the ...
Read more >
Code Freeze in Software Engineering - GeeksforGeeks
Make all required changes before implementing code freeze. Test and correct the expected bugs before implementing code freeze. Confirm no new ...
Read more >
Code Freeze - Tutorialspoint
Code Freeze, Code Freeze means the code is frozen and there will not be any further modifications ... After the code freeze, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found