24 lines
516 B
Python
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")
|