18 lines
393 B
Python
18 lines
393 B
Python
#!/env/bin/python
|
|
Import("env", "CoreTest", "testing_group")
|
|
|
|
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
|
|
|
|
res += [ PlaylistTest("system") ]
|
|
res += [ PlaylistTest("artist") ]
|
|
res += [ PlaylistTest("library") ]
|
|
|
|
Return("res")
|