Tests: Have a way to "freeze" the code used when compiling the compiler
See original GitHub issueSome 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:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
lolcry
I’m happy if anyone looks into our test infrastructure at all no matter what they do 😄