Kartik K. Agaram
7168ed5372
consistently save/restore state when running tests
...
It's not obvious, but this is a refactoring. There should be no behavior
changes.
2023-01-23 20:29:59 -08:00
Kartik K. Agaram
20a586dc1f
undo font changes when running tests
...
This seems to be making test runs less flaky in downstream forks.
2023-01-23 20:17:09 -08:00
Kartik K. Agaram
5017c41540
get rid of dubious heuristic helper
...
When we run into errors that aren't just assertion failures we should
just be able to look at the entire call stack.
2023-01-23 20:16:17 -08:00
Kartik K. Agaram
38bcc28be6
make run_test look like run_tests
2023-01-23 20:14:49 -08:00
Kartik K. Agaram
9957d30a84
stop including call stack for now
...
It risks blowing up the JSON payload to the driver too much, causing
truncation and more flakiness.
2023-01-23 20:13:19 -08:00
Kartik K. Agaram
2f1ec093ba
rename
2023-01-23 20:12:23 -08:00
Kartik K. Agaram
26652810f9
send Test_failures _before_ restoring globals
...
A bugfix, but slightly mind-bending.
2023-01-23 09:16:31 -08:00
Kartik K. Agaram
bb95a08739
Merge text0
2023-01-23 00:49:48 -08:00
Kartik K. Agaram
7aac929f0c
Merge text.love
2023-01-23 00:46:30 -08:00
Kartik K. Agaram
25939e87b9
Merge lines.love
2023-01-23 00:33:27 -08:00
Kartik K. Agaram
90ba22371f
demote codeberg.org in the list of mirrors
...
It's been slow to push to lately, so I'm going to update it less frequently.
2023-01-23 00:19:09 -08:00
Kartik K. Agaram
00ec1dd39e
restore globals after running tests
...
Is it possible this will work?
If so, the programmer's responsibility is to ensure App.initialize_globals()
has no side-effects besides initializing global bindings.
2023-01-23 00:01:15 -08:00
Kartik K. Agaram
1b0460f726
Merge text0
2023-01-22 22:56:32 -08:00
Kartik K. Agaram
dcb5540f23
Merge text.love
2023-01-22 22:55:52 -08:00
Kartik K. Agaram
2fc27f1bbc
Merge lines.love
2023-01-22 22:18:26 -08:00
Kartik K. Agaram
5cd5f54355
remove a condition
2023-01-22 22:12:58 -08:00
Kartik K. Agaram
461ac9d18b
stop cranking CPU on error
2023-01-22 21:53:58 -08:00
Kartik K. Agaram
e3ced06b82
return failing tests with every code change
2023-01-22 16:39:54 -08:00
Kartik K. Agaram
4eb4312038
configurable error handler when running tests
2023-01-22 16:30:54 -08:00
Kartik K. Agaram
9f742b380e
save 2 more alternate formats for test failures
2023-01-22 16:30:09 -08:00
Kartik K. Agaram
bb84093bd6
rename
2023-01-22 16:15:42 -08:00
Kartik K. Agaram
1502790717
tweak format again
2023-01-22 16:14:12 -08:00
Kartik K. Agaram
b3f9dd9119
tweak format of test failures
...
Put the name of the test first. File and line number are less important,
and also our heuristics sometimes get them wrong.
2023-01-22 16:12:38 -08:00
Kartik K. Agaram
6c4cb395b6
generalize the protocol to return errors, etc.
...
Arguably the 'ERROR' prefix should just go in here..
2023-01-22 11:37:38 -08:00
Kartik K. Agaram
298cf2edc2
debug helper: run a single test
2023-01-21 21:47:21 -08:00
Kartik K. Agaram
51e6494384
keep some prints in the terminal for now
2023-01-21 21:47:00 -08:00
Kartik K. Agaram
070fba44a7
deduplicate an initialization
2023-01-20 23:45:03 -08:00
Kartik K. Agaram
2e7b3412d6
Merge text0
2023-01-20 23:23:46 -08:00
Kartik K. Agaram
d01f34c645
merge bugfix: show test failures
2023-01-20 23:21:59 -08:00
Kartik K. Agaram
f544131d00
Merge text0
2023-01-20 22:47:52 -08:00
Kartik K. Agaram
20e46a8b56
Merge text.love
2023-01-20 22:30:16 -08:00
Kartik K. Agaram
486afb1c68
Merge lines.love
2023-01-20 22:08:39 -08:00
Kartik K. Agaram
d13d0f9af0
clean up a print
2023-01-20 21:55:52 -08:00
Kartik K. Agaram
bc95ec467b
show another detail on test failure
2023-01-20 21:48:49 -08:00
Kartik K. Agaram
2a0a770c49
deduce test names on failures
2023-01-20 21:48:49 -08:00
Kartik K. Agaram
a28e57205d
link to default love.run for comparison
2023-01-20 21:07:59 -08:00
Kartik K. Agaram
46889593da
support running tests multiple times
...
We now collect multiple test failures, but that's just the first step.
2023-01-20 20:08:17 -08:00
Kartik K. Agaram
4c7ea0e776
unnecessary coercion
2023-01-20 20:07:34 -08:00
Kartik K. Agaram
91a5dd01cb
fix file_drop callback
2023-01-20 14:18:04 -08:00
Kartik K. Agaram
0e3b8c523d
Merge text0
2023-01-20 09:31:01 -08:00
Kartik K. Agaram
41dc719c29
Merge text.love
2023-01-20 09:30:19 -08:00
Kartik K. Agaram
9b93a7bd34
fix broken link
2023-01-20 09:23:55 -08:00
Kartik K. Agaram
919f45497e
add another fork
2023-01-19 23:33:25 -08:00
Kartik K. Agaram
5aad826a63
Merge text0
2023-01-19 22:25:37 -08:00
Kartik K. Agaram
abb93a01f8
Merge text.love
2023-01-19 22:25:17 -08:00
Kartik K. Agaram
b3c878ae94
Merge lines.love
2023-01-19 22:19:38 -08:00
Kartik K. Agaram
674042d4c7
no, turn vsync back on
...
I notice my laptop's fan starts coming on when running many of my apps.
An empty app takes 10% CPU where it used to take just 1-2%.
2023-01-19 22:14:08 -08:00
Kartik K. Agaram
a411d86152
new fork
2023-01-18 20:36:45 -08:00
Kartik K. Agaram
9b09d51772
Merge text0
2023-01-18 20:35:50 -08:00
Kartik K. Agaram
7cb5496347
Merge text.love
2023-01-18 20:35:05 -08:00