diff --git a/tests/core/tags/Sconscript b/tests/core/tags/Sconscript index c6520d29..70f34edb 100644 --- a/tests/core/tags/Sconscript +++ b/tests/core/tags/Sconscript @@ -3,21 +3,21 @@ Import("env", "CoreTest", "core_objs", "testing_group") res = [] -def TagTest(name, source): - run = CoreTest("tags/%s" % name, source) +def TagTest(name): + run = CoreTest("tags/%s" % name, "%s.c" % name) Alias("tests/core/tags", run) if len(res) > 0 and testing_group([ "tests/core/tags" ]): Depends(run, res[-1]) return run -res += [ TagTest("album", "album.c") ] -res += [ TagTest("artist", "artist.c") ] -res += [ TagTest("genre", "genre.c") ] -res += [ TagTest("library", "library.c") ] - env.UsePackage("taglib_c") +res += [ TagTest("album") ] +res += [ TagTest("artist") ] +res += [ TagTest("genre") ] +res += [ TagTest("library") ] + core_objs += [ env.Object("../../../core/tags/tags.c") ] -res += [ TagTest("track", "track.c") ] +res += [ TagTest("track") ] Return("res")