ocarina/tests/core/playlists/Sconscript
Anna Schumaker a80a84a955 core/playlists/generic: Add a playlist_generic_sort() function
I set the history playlist to use a noop function, since changing the
history doesn't really make sense.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:02 -04:00

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")