Commit Graph

2058 Commits

Author SHA1 Message Date
Jesse Talavera
fd5bbbb512 Warn about a failed log interface if the envcall returns true without a callback 2024-03-13 08:28:32 -04:00
Jesse Talavera
801adaa6ec Fix a test 2024-03-12 23:54:16 -04:00
Jesse Talavera
d3d301f3e4 Simplify a test 2024-03-12 20:36:42 -04:00
Jesse Talavera
bce0c42bd2 Remove a stray include 2024-03-12 20:28:07 -04:00
Jesse Talavera
efb2699063 Fix core_get_proc_address 2024-03-12 20:27:49 -04:00
Jesse Talavera
8a8f1c60d5 Register a get_proc_address correctly 2024-03-12 20:26:59 -04:00
Jesse Talavera
f8733dafa5 Avoid conflicting with kernel32's GetProcAddress 2024-03-12 20:25:17 -04:00
Jesse Talavera
29f3bf3457 Update a test 2024-03-12 20:11:09 -04:00
Jesse Talavera
b68f75b1ad Log the core options version 2024-03-12 20:10:23 -04:00
Jesse Talavera
ea49e1086a Mark some functions as extern "C" 2024-03-12 19:40:45 -04:00
Jesse Talavera
585d2bd2a3 Implement a new test 2024-03-12 18:31:11 -04:00
Jesse Talavera
c6d51a111a Implement some new tests 2024-03-12 17:27:18 -04:00
Jesse Talavera
684f781845 Make the prelude session functions more flexible 2024-03-12 16:23:40 -04:00
Jesse Talavera
e6630f003f Fix core_logs_output.py 2024-03-12 16:20:55 -04:00
Jesse Talavera
87a248165a Fix some tests 2024-03-12 09:07:54 -04:00
Jesse Talavera
f0928d3b15 Use FindPython instead of FindPython3 2024-03-11 12:48:53 -04:00
Jesse Talavera
b7f8348ac7 Fix FindPythonModules's use of print
- Compatibility with Python 2 is no longer an issue
2024-03-11 12:48:11 -04:00
Jesse Talavera
482143b642 Fix basics.core_generates_video 2024-03-10 21:02:37 -04:00
Jesse Talavera
ecf60f03ce Fix basics.core_resets 2024-03-10 20:58:31 -04:00
Jesse Talavera
71ce09069a Add a comment to a test 2024-03-10 20:56:20 -04:00
Jesse Talavera
23a249b5ee Fix some tests 2024-03-10 20:55:23 -04:00
Jesse Talavera
e1f57b1746 Fail the test if a ctypes exception is unhandled
- Ideally libretro.py would hold onto the exception until it received control
2024-03-10 19:45:49 -04:00
Jesse Talavera
17b44712a1 Bump the required Python version to 3.11 2024-03-10 18:06:03 -04:00
Jesse Talavera
f58dbbf641 Ensure that add_python_test allows setting NDS_SYSFILES and DSI_SYSFILES 2024-03-10 15:58:52 -04:00
Jesse Talavera
be77fbfc06 Ignore venvs 2024-03-10 15:57:49 -04:00
Jesse Talavera
5fa89159a2 Fix some tests 2024-03-09 10:37:32 -05:00
Jesse Talavera
78f831c248 Clean up some tests 2024-03-08 15:49:05 -05:00
Jesse Talavera
fc032b9ef6 Log some extra info for some tests 2024-03-08 12:09:23 -05:00
Jesse Talavera
fd699ea3b8 Implement or update some tests 2024-03-06 22:05:03 -05:00
Jesse Talavera
9f432f7b00 Implement or update some tests 2024-03-06 21:24:10 -05:00
Jesse Talavera
5b0ed4a8d8 Add a comment 2024-03-06 20:13:05 -05:00
Jesse Talavera
35dff56284 Write some more tests 2024-03-06 20:11:55 -05:00
Jesse Talavera
b71fa4a7c9 Ensure that core.get_memory works 2024-03-06 20:11:17 -05:00
Jesse Talavera
10457432f2 Require the test suite to run with optimizations off so asserts are kept 2024-03-06 20:11:00 -05:00
Jesse Talavera
a346fdb726 Flesh out some tests 2024-03-06 18:09:41 -05:00
Jesse Talavera
1c32a25388 Set some default values in CoreConfig 2024-03-05 17:11:06 -05:00
Jesse Talavera
327dd78d9e Fix an incorrect format specifier
- Mixed up stdio and fmt
2024-03-05 16:58:45 -05:00
Jesse Talavera
b642690df9 Log when we can't get the log interface 2024-03-05 16:47:54 -05:00
Jesse Talavera
06c0585554 Check info->path for nullptr 2024-03-05 16:47:45 -05:00
Jesse Talavera
0032085116 Print directly to stderr (without fmt) if no log interface is available 2024-03-05 16:42:36 -05:00
Jesse Talavera
c3e092275b Implement some more test scripts 2024-03-04 19:25:14 -05:00
Jesse Talavera
8a4b683079 Remove an unused environment variable 2024-03-04 17:58:03 -05:00
Jesse Talavera
275db2a051 Use RETRO_ENVIRONMENT_SET_PROC_ADDRESS_CALLBACK
- For tests, primarily
2024-03-04 17:33:22 -05:00
Jesse Talavera
496b4cbb94 Add some tests 2024-03-04 17:32:47 -05:00
Jesse Talavera
54e75e2146 Add and update some test scripts 2024-03-04 16:42:00 -05:00
Jesse Talavera
df0d595ca7 Fix a typo 2024-03-04 13:26:07 -05:00
Jesse Talavera
fe8d1741d3 Add some extra tests 2024-03-01 17:34:46 -05:00
Jesse Talavera
854bea3dbd Add some extra features to Python tests 2024-03-01 17:34:33 -05:00
Jesse Talavera
7ca25996aa Use the correct path for test scripts 2024-03-01 17:34:13 -05:00
Jesse Talavera
d32012c495 Rename a test 2024-03-01 17:33:56 -05:00