#!/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("library") ] Return("res")