mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2025-02-18 21:31:01 +00:00
Implement some more test scripts
This commit is contained in:
parent
8a4b683079
commit
c3e092275b
@ -18,23 +18,25 @@ add_python_test(
|
||||
TEST_SCRIPT "basics/core_get_proc_address.py"
|
||||
)
|
||||
|
||||
#add_python_test(
|
||||
# NAME "Core runs init and deinit"
|
||||
# TEST_SCRIPT ""
|
||||
#)
|
||||
add_python_test(
|
||||
NAME "Core runs init and deinit"
|
||||
TEST_SCRIPT "basics/core_run_init_deinit.py"
|
||||
)
|
||||
|
||||
#add_python_test(
|
||||
# NAME "Core loads and unloads without content"
|
||||
# TEST_SCRIPT ""
|
||||
#)
|
||||
add_python_test(
|
||||
NAME "Core loads and unloads without content"
|
||||
TEST_SCRIPT "basics/core_loads_unloads_without_content.py"
|
||||
)
|
||||
|
||||
add_python_test(
|
||||
NAME "Core loads and unloads with content"
|
||||
TEST_SCRIPT "basics/core_loads_unloads_with_content.py"
|
||||
CONTENT "${NDS_ROM}"
|
||||
)
|
||||
|
||||
#add_python_test(
|
||||
# NAME "Core loads and unloads content"
|
||||
# TEST_SCRIPT ""
|
||||
#)
|
||||
#
|
||||
#add_python_test(
|
||||
# NAME "Core loads and unloads subsystem content"
|
||||
# NAME "Core loads and unloads with subsystem content"
|
||||
# TEST_SCRIPT ""
|
||||
#)
|
||||
#
|
||||
|
6
test/python/basics/core_loads_unloads_with_content.py
Normal file
6
test/python/basics/core_loads_unloads_with_content.py
Normal file
@ -0,0 +1,6 @@
|
||||
from sys import argv
|
||||
from libretro import default_session
|
||||
|
||||
with default_session(argv[1], argv[2]) as session:
|
||||
for i in range(10):
|
||||
session.core.run()
|
6
test/python/basics/core_loads_unloads_without_content.py
Normal file
6
test/python/basics/core_loads_unloads_without_content.py
Normal file
@ -0,0 +1,6 @@
|
||||
from sys import argv
|
||||
from libretro import default_session
|
||||
|
||||
with default_session(argv[1]) as session:
|
||||
for i in range(10):
|
||||
session.core.run()
|
5
test/python/basics/core_run_init_deinit.py
Normal file
5
test/python/basics/core_run_init_deinit.py
Normal file
@ -0,0 +1,5 @@
|
||||
from sys import argv
|
||||
from libretro import default_session
|
||||
|
||||
with default_session(argv[1]) as session:
|
||||
pass
|
Loading…
x
Reference in New Issue
Block a user