core/tags.cpp was WAY too big, so I moved this code into a new file in its own directory. I also created a new unit test just for testing the Artist tag. This patch disables the "tags" test since it conflicts with the tests/core/tags/ directory. This is okay because the tagdb is gradually being phased out! Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
25 lines
486 B
Python
25 lines
486 B
Python
#!/usr/bin/python
|
|
import os
|
|
Import("test_env", "generic_test")
|
|
|
|
objs = []
|
|
core = []
|
|
|
|
for f in Glob("../../core/*.cpp"):
|
|
f = str(f)
|
|
core += [ test_env.Object("%s-core" % os.path.basename(f), f) ]
|
|
for f in Glob("../../core/tags/*.cpp"):
|
|
f = str(f)
|
|
core += [ test_env.Object("tags/%s-core" % os.path.basename(f), f) ]
|
|
|
|
def test(name):
|
|
global core, objs
|
|
objs = generic_test(name, "lib", objs, core)
|
|
|
|
|
|
test( "lib" )
|
|
|
|
test_env.UsePackage("gtkmm-3.0")
|
|
test( "colmgr" )
|
|
test( "model" )
|