2016-04-24 10:36:15 -04:00
|
|
|
#!/env/bin/python
|
2016-05-24 07:33:40 -04:00
|
|
|
Import("env", "CoreTest", "testing_group", "core_objs")
|
2016-04-24 10:36:15 -04:00
|
|
|
|
|
|
|
res = []
|
|
|
|
|
|
|
|
def PlaylistTest(name):
|
|
|
|
run = CoreTest("playlists/%s" % name)
|
|
|
|
Alias("tests/core/playlists", run)
|
|
|
|
if len(res) > 0 and testing_group([ "tests/core/playlists" ]):
|
2016-05-09 07:52:10 -04:00
|
|
|
Depends(run, res[-1])
|
2016-04-24 10:36:15 -04:00
|
|
|
return run
|
|
|
|
|
2016-05-24 07:33:40 -04:00
|
|
|
core_objs += [ env.Object("../../../core/playlists/generic.c") ]
|
2016-05-13 11:25:43 -04:00
|
|
|
core_objs += [ env.Object("../../../core/playlists/system.c") ]
|
2016-05-16 07:48:29 -04:00
|
|
|
core_objs += [ env.Object("../../../core/playlists/artist.c") ]
|
2016-05-13 13:50:59 -04:00
|
|
|
core_objs += [ env.Object("../../../core/playlists/library.c") ]
|
2016-04-24 10:36:15 -04:00
|
|
|
|
|
|
|
Return("res")
|