Try to bring back tests

This commit is contained in:
Krzosa Karol
2026-03-19 11:18:57 +01:00
parent edb461bde8
commit 4ad9e6bf20
4 changed files with 52 additions and 3 deletions

View File

@@ -1,9 +1,13 @@
/*
- [x] list_functions.sh and rg in general in the color mode is prinitng differently from terminal as well as output is truncated!
- [ ] Syntax for executing commands from root of project
- [ ] Fuzzy search over executed command ouput
- [ ] When inserting parenthesis and selection is there, put the parens on both sides?
- [ ] KillProcess in console !!! - should also kill all the children ...........
- [ ] ctrl-e with these short main.c:290: breaks a little, need to first click ctrl-e and then alt-e to jump
- [x] ctrl-e with these short main.c:290: breaks a little, need to first click ctrl-e and then alt-e to jump
- [ ] Use command window without special fuzzy search features to type commands and stuff for executing shell etc..
- [ ] Make a platform layer and separate SDL stuff out
- [x] ReplaceAll - heap-use-after-free address, how to debug? I think would be nice to iterate all buffer ids and their addresses along with the state
- [x] BRO, the caret teleports on linux when I press the arrow for too long
@@ -126,6 +130,7 @@
#include "plugin_profiler.cpp"
#include "plugin_file_commands.cpp"
#include "plugin_word_complete.cpp"
#include "plugin_tests.cpp"
#if OS_WASM
EM_JS(void, JS_SetMouseCursor, (const char *cursor_str), {
@@ -836,7 +841,7 @@ void MainLoop() {
GetEventsForFrame(&FrameEvents);
For (FrameEvents) {
#if PLUGIN_RECORD_EVENTS
if (it.kind != EVENT_UPDATE) {
if (it.kind != EVENT_UPDATE && !Testing) {
Serialize(EventBuffer, &it);
}
#endif
@@ -1099,7 +1104,6 @@ int main(int argc, char **argv, char **envp)
Open(argv[i]);
}
// if (Testing) InitTests();
#if PLUGIN_LOAD_VCVARS
LoadVCVars();
#endif