ocarina/tests/core/tags/Sconscript
Anna Schumaker 0d9b7baff6 core/tags/album: Add a pointer to the struct artist
This is needed for album art fetching to get more accurate results for
our MusicBrainz query.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-06-24 10:50:37 -04:00

24 lines
516 B
Python

#!/usr/bin/python
Import("env", "CoreTest", "core_objs", "testing_group")
res = []
def TagTest(name):
run = CoreTest("tags/%s" % name)
Alias("tests/core/tags", run)
if len(res) > 0 and testing_group([ "tests/core/tags" ]):
Depends(run, res[-1])
return run
env.UsePackage("taglib_c")
res += [ TagTest("artist") ]
res += [ TagTest("album") ]
res += [ TagTest("genre") ]
res += [ TagTest("library") ]
core_objs += [ env.Object("../../../core/tags/tags.c") ]
res += [ TagTest("track") ]
Return("res")