ocarina/tests/core/playlists/Sconscript

19 lines
471 B
Python

#!/env/bin/python
Import("env", "CoreTest", "testing_group", "core_objs")
res = []
def PlaylistTest(name):
run = CoreTest("playlists/%s" % name)
Alias("tests/core/playlists", run)
if len(res) > 0 and testing_group([ "tests/core/playlists" ]):
Depends(run, res[-1])
return run
core_objs += [ env.Object("../../../core/playlists/generic.c") ]
res += [ PlaylistTest("system") ]
res += [ PlaylistTest("artist") ]
res += [ PlaylistTest("library") ]
Return("res")